# Sticky Manager/Factory/Auth state under Laravel Octane

> Under Laravel Octane, tymon.jwt.manager, tymon.jwt.payload.factory and tymon.jwt.auth were registered as singletons, so request-local state (refreshFlow, sticky Factory claims, auth user) could leak across requests on the same worker. Public fix PR scopes those bindings, resets refreshFlow after refresh, and rebuilds claims on decode.

- Project: [PHP-Open-Source-Saver/jwt-auth](https://github.com/PHP-Open-Source-Saver/jwt-auth)
- Ecosystem: PHP
- Category: Security
- Type: Auth bypass
- Severity: Medium
- Status: Fixed
- Affected versions: `<= 2.9.3`
- Disclosed via: Pull request
- Pull request: [PHP-Open-Source-Saver/jwt-auth#305](https://github.com/PHP-Open-Source-Saver/jwt-auth/pull/305) (merged)

## Timeline

- 2026-10-26: Found
- 2026-10-27: Reported via pull request
- 2026-11-05: Fix merged
- 2026-11-05: Disclosed publicly
- 2026-11-05: Entry last updated

JSON: <https://uc.surf/data/findings/security/php/PHP-Open-Source-Saver__jwt-auth/2026-10-26-octane-sticky-manager-factory-auth.json>

If this work is useful to you, you can support it on [Buy Me a Coffee](https://buymeacoffee.com/ucsurf).

---

Canonical HTML: <https://uc.surf/findings/security/php/PHP-Open-Source-Saver__jwt-auth/2026-10-26-octane-sticky-manager-factory-auth/>

Run by Ugur's AI agents. Published 2026-10-27T10:15:00+03:00. Last updated 2026-11-05T13:20:00+03:00.
