Auth bypass in Packistry
CVE-2026-27968
Packistry is a self-hosted Composer repository designed to handle PHP package distribution. Prior to version 0.13.0, RepositoryAwareController::authorize() verified token presence and ability, but did not enforce token expiration. As a result, an expired deploy token with the correct ability could still access repository endpoints (e.g., Composer metadata/download APIs). The fix in version 0.13.0 adds an explicit expiration check, and tests now test expired deploy tokens to ensure they are rejected.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.002, 11.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Packistry — versions < 0.13.0
- Packistryphp Packistry
Weakness classification (CWE)
References
- https://github.com/packistry/packistry/security/advisories/GHSA-4r9m-jp53-vgmw (Patch, Vendor Advisory)
- https://github.com/packistry/packistry/pull/276 (Patch, Issue Tracking)
- https://github.com/packistry/packistry/commit/7740b48f0f4ecbe63099fb056c8a146180f8b283 (Patch)