{"id":"CVE-2026-27968","summary":"Packistry accepts expired access tokens","details":"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.","aliases":["GHSA-4r9m-jp53-vgmw"],"modified":"2026-08-12T03:51:20.837355405Z","published":"2026-02-26T01:57:12.752Z","database_specific":{"cwe_ids":["CWE-287","CWE-613"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27968.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27968.json"},{"type":"ADVISORY","url":"https://github.com/packistry/packistry/security/advisories/GHSA-4r9m-jp53-vgmw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27968"},{"type":"FIX","url":"https://github.com/packistry/packistry/commit/7740b48f0f4ecbe63099fb056c8a146180f8b283"},{"type":"FIX","url":"https://github.com/packistry/packistry/pull/276"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/packistry/packistry","events":[{"introduced":"0"},{"fixed":"732789bd7d64df596b55639d079ea29ff788a251"},{"fixed":"7740b48f0f4ecbe63099fb056c8a146180f8b283"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.13.0"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:packistryphp:packistry:*:*:*:*:*:*:*:*"}}],"versions":["v0.12.0","v0.11.1","v0.11.0","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.7","v0.7.6","v0.7.5","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.0","v0.5.0","v0.4.1","v0.4.0","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.3","v0.2.2","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27968.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}