# CVE-2026-27968: Packistry accepts expired access tokens

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-02-26T01:57:12.752Z
- Modified: 2026-06-17T10:27:59.380Z
- Weaknesses: CWE-287, CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- packistry packistry: < 0.13.0
- packistryphp packistry: before 0.13.0

## References

- <https://github.com/packistry/packistry/security/advisories/GHSA-4r9m-jp53-vgmw> (patch, vendor-advisory)
- <https://github.com/packistry/packistry/pull/276> (issue-tracking, patch)
- <https://github.com/packistry/packistry/commit/7740b48f0f4ecbe63099fb056c8a146180f8b283> (patch)

## Sources

- CVE List: [CVE-2026-27968](https://www.cve.org/CVERecord?id=CVE-2026-27968), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2026-27968](https://nvd.nist.gov/vuln/detail/CVE-2026-27968), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27968 · Whole record: https://cve.day/CVE-2026-27968.json · Rebuilt by cve.day 2026-11-25T22:59:14.944Z
