{"id":"CVE-2026-48815","aliases":["CVE-2026-48815","GHSA-52v5-jr5w-gjxr"],"related":[],"kind":"vulnerability","state":"published","title":"sigstore-js: `certificateOIDs` verification constraints are silently dropped and never enforced","summary":"sigstore-js provides JavaScript libraries for interacting with Sigstore services. Prior to 4.1.1, the documented certificateOIDs option in sigstore.verify() is accepted by the public API but discarded before verification, so required certificate extension OIDs are never checked and applications relying on certificateOIDs to restrict which certificates may sign artifacts can accept unauthorized certificates. This issue is fixed in version 4.1.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"sigstore-js provides JavaScript libraries for interacting with Sigstore services. Prior to 4.1.1, the documented certificateOIDs option in sigstore.verify() is accepted by the public API but discarded before verification, so required certificate extension OIDs are never checked and applications relying on certificateOIDs to restrict which certificates may sign artifacts can accept unauthorized certificates. This issue is fixed in version 4.1.1.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe documented `certificateOIDs` option in `sigstore.verify()` is accepted by the public API but discarded before verification, so required certificate extension OIDs are never checked.\n\n### Details\n\nThe public verify options include `certificateOIDs` and the documentation says those OID/value pairs “must be present in the certificate’s extension list.” The policy-construction path used by `sigstore.verify()` and `createVerifier()` only copies the SAN and issuer settings into the verification policy and completely ignores `certificateOIDs`.\n\nAs a result, callers can believe they are constraining verification to certificates carrying specific Fulcio or workload-identifying OIDs, while the actual verifier never receives those constraints. Any bundle that satisfies the remaining checks is accepted even if the required OID extensions are absent or mismatched.\n\nThis is reachable from supported usage through the documented `certificateOIDs` verify option.\n\n### PoC\n\n```javascript\nconst { createVerificationPolicy } = require(\"sigstore/dist/config\");\n\nconst policy = createVerificationPolicy({\n  certificateIssuer: \"https://issuer.example\",\n  certificateIdentityEmail: \"victim@example.com\",\n  certificateOIDs: {\n    \"1.2.3.4\": \"required-value\",\n  },\n});\n\nconsole.log(\"certificateOIDs\" in policy, JSON.stringify(policy));\n// false {\"subjectAlternativeName\":\"victim@example.com\",\"extensions\":{\"issuer\":\"https://issuer.example\"}}\n```\n\n### Impact\n\nApplications that rely on `certificateOIDs` to restrict which certificates may sign artifacts receive no such protection. Unauthorized certificates that should be rejected on extension policy can be accepted as long as they satisfy the remaining verification checks.","format":"markdown","source":"ghsa"},{"lang":"es","text":"sigstore-js proporciona bibliotecas JavaScript para interactuar con los servicios Sigstore. Antes de la versión 4.1.1, la opción documentada certificateOIDs en sigstore.verify() es aceptada por la API pública pero descartada antes de la verificación, por lo que los OID de extensión de certificado requeridos nunca se verifican y las aplicaciones que dependen de certificateOIDs para restringir qué certificados pueden firmar artefactos pueden aceptar certificados no autorizados. Este problema se corrige en la versión 4.1.1.","source":"nvd"}],"published":"2026-07-01T19:58:28.000Z","modified":"2026-10-24T21:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"version":"< 4.1.1","status":"affected"}],"vendor":"sigstore","product":"sigstore-js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.1"}],"ecosystem":"npm","package":"sigstore","purl":"pkg:npm/sigstore","source":"ghsa"}],"references":[{"url":"https://github.com/sigstore/sigstore-js/security/advisories/GHSA-52v5-jr5w-gjxr","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sigstore/sigstore-js/pull/1658","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sigstore/sigstore-js/commit/7845532f9d17f6f765363dbee82b01bd159fb52b","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sigstore/sigstore-js/releases/tag/sigstore%404.1.1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sigstore/sigstore-js","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-07-15T12:56:21.913Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48815","url":"https://www.cve.org/CVERecord?id=CVE-2026-48815","licence":"CVE Terms of Use","modified":"2026-07-15T12:56:29.848Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-52v5-jr5w-gjxr","url":"https://github.com/advisories/GHSA-52v5-jr5w-gjxr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:12.262Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48815","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48815","licence":"Public domain","modified":"2026-10-24T21:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:28.226Z","epss":{"score":0.00173,"percentile":0.07095,"date":"2026-12-01T12:00:22.000Z"}}