Security fixes are applied to the latest minor release line. Older minor versions may receive fixes for critical issues at the maintainers' discretion — when in doubt, please upgrade.
| Version | Supported |
|---|---|
3.6.x |
✅ |
3.x (older) |
|
< 3.0 |
❌ (please upgrade) |
Please do not open a public GitHub issue for security reports.
Use GitHub Security Advisories to report privately. This lets us discuss, fix, and coordinate disclosure before details become public.
When reporting, please include:
- A description of the issue and its potential impact.
- Steps to reproduce, or a minimal proof-of-concept.
- Affected package version(s), Laravel version, and PHP version.
- Any suggested fix or mitigation (optional).
- Acknowledgement: within 5 business days.
- Initial assessment: within 10 business days.
- Fix timeline: depends on severity. Critical issues get prioritized; lower-severity issues may be batched into the next regular release.
We'll keep you updated on progress and credit you in the advisory unless you'd prefer to stay anonymous.
Things in scope for this project:
- Vulnerabilities in any code published under
OffloadProject\Mandate\(models, traits, services, middleware, Blade directives, facade, console commands). - Authorization bypass — any scenario where a subject can satisfy a permission, role, or capability check they should not have (including wildcard, context, and feature-integration paths).
- Privilege escalation through code-first sync, the
mandate:sync/mandate:assign-*commands, or the seeding/assignment config. - Mass-assignment issues in the package-provided
Permission,Role, orCapabilitymodels. - Cache poisoning of the permission registrar — anything that lets a subject get cached as having permissions they were not granted.
- SQL injection, query-scope bypass, or guard-mismatch bypass in package-provided Eloquent code.
- Information disclosure via exception messages, events, or middleware redirects (e.g., leaking subject identifiers or context model data).
- Insecure defaults in the published config or migrations.
Things not in scope (please report upstream or with the relevant project):
- Vulnerabilities in Laravel itself or other Composer dependencies — please file with the respective project.
- Application-level misconfiguration in a consuming app (e.g., assigning over-broad wildcards in config, exposing the
mandate:*commands publicly, custom Gate registrations that bypass Mandate). - Issues caused by user-supplied implementations of the package's extension points (custom
FeatureAccessHandler, custom Permission/Role/Capability models, overridden trait methods). - Vulnerabilities in the host application's authentication, session, cache, or database layer.
Once a fix is published, we will:
- Publish a GitHub Security Advisory with details and credit.
- Tag a patch release.
- Update the changelog with a brief mention (without exploit details prior to the disclosure window).
Thanks for helping keep the project and its users safe.