CVE-2026-27968

Packistry accepts expired access tokens

State
Published
Severity
4.3 Medium
Published
Feb 26, 2026
Updated
Feb 26, 2026
Reserved
Feb 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-287 Improper Authentication
  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
packistrypackistry
  • < 0.13.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.