medium5.4
CVE-2026-48758
sigstore-js provides JavaScript libraries for interacting with Sigstore services.
Impact
sigstore-js provides JavaScript libraries for interacting with Sigstore services. Prior to 3.2.1, the preAuthEncoding function in @sigstore/core uses Node.js ascii encoding when converting the PAE string to bytes, allowing payloadType to be mutated after signing without invalidating the signature and breaking the type-binding guarantee that DSSE is designed to provide. This issue is fixed in version 3.2.1.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @sigstore/core | <= 3.2.0 | 3.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-jfc7-64v2-mr8c
- https://github.com/sigstore/sigstore-js/security/advisories/GHSA-jfc7-64v2-mr8c
- https://github.com/sigstore/sigstore-js/commit/b5aa4f1f8d2db0a9dfa6430fb114d9c2f1c304f7
- https://github.com/sigstore/sigstore-js/pull/1657
- https://github.com/sigstore/sigstore-js/releases/tag/%40sigstore%2Fcore%403.2.1