{"id":"GHSA-pmwq-pjrm-6p5r","revision":"1de493e5333c4648b3f33ca3bb6f1d52","records":[{"revision":"1de493e5333c4648b3f33ca3bb6f1d52","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-pmwq-pjrm-6p5r","aliases":["GO-2026-5547"],"title":"in-toto-golang and in-toto-python have inconsistent negation behavior","description":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nin-toto-golang and in-toto-python both support glob patterns in artifact rules to indicate the artifacts that a rule applies to. Both support negations in character classes to indicate what should *not* be matched, but they used different operators to indicate the negation. in-toto-python uses `!` while in-toto-golang used `^`. A layout authored with the expectations of one implementation can therefore exhibit different behavior in the other implementation.\n\nThis impacts users in a specific set of circumstances where two different implementations are used to verify the same layout + attestation bundle at different stages of the same pipeline. As a rule of thumb, we advise using a single implementation across all aspects of a pipeline, from layout creation to pipeline execution and verification to prevent this class of bugs.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nin-toto-golang has been updated to use `!` instead of `^` to indicate negation. See https://github.com/in-toto/in-toto-golang/pull/462. This is part of v0.11.0.","state":0,"publishedAt":"2026-05-08T22:24:19+00:00","modifiedAt":"2026-09-10T03:51:06.602952+00:00","affected":[{"ecosystem":"Go","name":"github.com/in-toto/in-toto-golang","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.11.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/in-toto/in-toto-golang/security/advisories/GHSA-pmwq-pjrm-6p5r","https://github.com/in-toto/in-toto-golang/pull/462","https://github.com/in-toto/in-toto-golang/commit/36d782ffb2ca3adbffcdce1fd971c23319dd4469","https://github.com/in-toto/in-toto-golang"],"sourceUrl":"https://github.com/advisories/GHSA-pmwq-pjrm-6p5r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pmwq-pjrm-6p5r","identifiers":["GHSA-pmwq-pjrm-6p5r","GO-2026-5547"]},"retained":false,"historicalAffected":[]}],"coverage":[]}