Security advisory
in-toto-golang is a go implementation of the in-toto framework to protect software supply chain integrity. In affected versions authenticated attackers posing as functionaries (i.e., within a trusted set of users for a layout) are able to create attestations that may bypass DISALLOW rules in the same layout. An attacker with access to trusted private keys, may issue an attestation that contains a disallowed artifact by including path traversal semantics (e.g., foo vs dir/../foo). Exploiting this vulnerability is dependent on the specific policy applied. The problem has been fixed in version 0.3.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-41087
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:56 UTC · Revision 1
Source evidence
in-toto-golang is a go implementation of the in-toto framework to protect software supply chain integrity. In affected versions authenticated attackers posing as functionaries (i.e., within a trusted set of users for a layout) are able to create attestations that may bypass DISALLOW rules in the same layout. An attacker with access to trusted private keys, may issue an attestation that contains a disallowed artifact by including path traversal semantics (e.g., foo vs dir/../foo). Exploiting this vulnerability is dependent on the specific policy applied. The problem has been fixed in version 0.3.0.
osv:CVE-2021-41087
Complete source record
{
"id": "282a2d94509f38507244298db7e06f8e50f9dc044645e53a32a21b37e964034e",
"url": "https://osv.dev/vulnerability/CVE-2021-41087",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-41087",
"summary": "in-toto-golang is a go implementation of the in-toto framework to protect software supply chain integrity. In affected versions authenticated attackers posing as functionaries (i.e., within a trusted set of users for a layout) are able to create attestations that may bypass DISALLOW rules in the same layout. An attacker with access to trusted private keys, may issue an attestation that contains a disallowed artifact by including path traversal semantics (e.g., foo vs dir/../foo). Exploiting this vulnerability is dependent on the specific policy applied. The problem has been fixed in version 0.3.0.",
"evidence": "osv:CVE-2021-41087",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-41087",
"aliases": [
"CVE-2021-41087",
"GHSA-vrxp-mg9f-hwf3",
"GO-2022-0936"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/in-toto/in-toto-golang",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f2c57d1e0f15e3ffbeac531829c696b72ecc4290"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:in-toto:in-toto-golang:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.3.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "f2c57d1e0f15e3ffbeac531829c696b72ecc4290"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41087.json"
}
}
],
"modified": "2026-10-20T10:54:57.600185691Z",
"provider": "osv",
"references": [
"https://github.com/in-toto/in-toto-golang/security/advisories/GHSA-vrxp-mg9f-hwf3",
"https://github.com/in-toto/in-toto-golang/commit/f2c57d1e0f15e3ffbeac531829c696b72ecc4290"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-41087",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386547,
"published_at": "2021-09-21T21:15:07.203+00:00"
}