CVE-2026-46354 (GCVE-0-2026-46354)

Vulnerability from cvelistv5 – Published: 2026-07-07 21:10 – Updated: 2026-07-08 13:01
VLAI
Title
Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft
Summary
Coder allows organizations to provision remote development environments via Terraform. In versions prior tp 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3, `azureidentity.Validate()` verifies that the PKCS#7 signer certificate chains to a trusted Azure CA but never verifies the PKCS#7 signature itself. An attacker can embed a legitimate Azure certificate alongside arbitrary content e.g. `{"vmId":"<target>"}` and the forged `vmId` will be accepted returning the victim workspace agent's session token. No authentication is required. The attacker only needs to know a target VM's `vmId` which is a `UUIDv4`. That's a practical limitation which would typically require prior access to be exploited. Versions 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3 patch the issue. As a workaround, reconfigure any Azure templates to use token authentication rather than `azure-instance-identity`.
SSVC
Exploitation: none Automatable: yes Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-07-08 13:01 UTC
CWE
  • CWE-347 - Improper Verification of Cryptographic Signature
Assigner
GitHub_M CNA under the mitre root
CNA scorecard C 72/100 over 7737 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
coder coder Affected: >= 2.33.0-rc.0, < 2.33.3
Affected: >= 2.32.0-rc.0, < 2.32.2
Affected: >= 2.31.0, < 2.31.12
Affected: >= 2.30.0, < 2.30.8
Affected: >= 2.29.0, < 2.29.13
Affected: < 2.24.5
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-46354",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-07-08T13:01:18.394796Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-07-08T13:01:25.192Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "coder",
          "vendor": "coder",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 2.33.0-rc.0, \u003c 2.33.3"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.32.0-rc.0, \u003c 2.32.2"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.31.0, \u003c 2.31.12"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.30.0, \u003c 2.30.8"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.29.0, \u003c 2.29.13"
            },
            {
              "status": "affected",
              "version": "\u003c 2.24.5"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Coder allows organizations to provision remote development environments via Terraform. In versions prior tp 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3, `azureidentity.Validate()` verifies that the PKCS#7 signer certificate chains to a trusted Azure CA but never verifies the PKCS#7 signature itself. An attacker can embed a legitimate Azure certificate alongside arbitrary content e.g. `{\"vmId\":\"\u003ctarget\u003e\"}` and the forged `vmId` will be accepted returning the victim workspace agent\u0027s session token. No authentication is required. The attacker only needs to know a target VM\u0027s `vmId` which is a `UUIDv4`. That\u0027s a practical limitation which would typically require prior access to be exploited. Versions 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3 patch the issue. As a workaround, reconfigure any Azure templates to use token authentication rather than `azure-instance-identity`."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 9.1,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-347",
              "description": "CWE-347: Improper Verification of Cryptographic Signature",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-07T21:10:01.899Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf"
        },
        {
          "name": "https://github.com/coder/coder/pull/25286",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/coder/coder/pull/25286"
        },
        {
          "name": "https://github.com/coder/coder/releases/tag/v2.24.5",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/coder/coder/releases/tag/v2.24.5"
        },
        {
          "name": "https://github.com/coder/coder/releases/tag/v2.29.13",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/coder/coder/releases/tag/v2.29.13"
        },
        {
          "name": "https://github.com/coder/coder/releases/tag/v2.30.8",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/coder/coder/releases/tag/v2.30.8"
        },
        {
          "name": "https://github.com/coder/coder/releases/tag/v2.31.12",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/coder/coder/releases/tag/v2.31.12"
        },
        {
          "name": "https://github.com/coder/coder/releases/tag/v2.32.2",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/coder/coder/releases/tag/v2.32.2"
        },
        {
          "name": "https://github.com/coder/coder/releases/tag/v2.33.3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/coder/coder/releases/tag/v2.33.3"
        }
      ],
      "source": {
        "advisory": "GHSA-6x44-w3xg-hqqf",
        "discovery": "UNKNOWN"
      },
      "title": "Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-46354",
    "datePublished": "2026-07-07T21:10:01.899Z",
    "dateReserved": "2026-05-13T18:37:30.991Z",
    "dateUpdated": "2026-07-08T13:01:25.192Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-46354",
      "date": "2026-10-17",
      "epss": "0.00318",
      "percentile": "0.23189"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "coder",
                "vendor": "coder",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003e= 2.33.0-rc.0, \u003c 2.33.3"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 2.32.0-rc.0, \u003c 2.32.2"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 2.31.0, \u003c 2.31.12"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 2.30.0, \u003c 2.30.8"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 2.29.0, \u003c 2.29.13"
                  },
                  {
                    "status": "affected",
                    "version": "\u003c 2.24.5"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*",
                    "matchCriteriaId": "38FD51E2-14DE-4C93-8EFC-267C222E06FE",
                    "versionEndExcluding": "2.24.5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*",
                    "matchCriteriaId": "055001B5-79DC-4275-91EF-8D7C45FCA8ED",
                    "versionEndExcluding": "2.29.13",
                    "versionStartIncluding": "2.29.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*",
                    "matchCriteriaId": "7646D2AE-2363-4C43-853A-4F61C95B253B",
                    "versionEndExcluding": "2.30.8",
                    "versionStartIncluding": "2.30.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*",
                    "matchCriteriaId": "02976D4C-3CEB-430B-A464-141A28B2CBED",
                    "versionEndExcluding": "2.31.12",
                    "versionStartIncluding": "2.31.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*",
                    "matchCriteriaId": "4498D465-4F7F-4786-8716-43A78FBC35B8",
                    "versionEndExcluding": "2.32.2",
                    "versionStartIncluding": "2.32.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*",
                    "matchCriteriaId": "88AFFF26-1B74-4DD4-98C7-D5FE8F17CF00",
                    "versionEndExcluding": "2.33.3",
                    "versionStartIncluding": "2.33.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Coder allows organizations to provision remote development environments via Terraform. In versions prior tp 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3, `azureidentity.Validate()` verifies that the PKCS#7 signer certificate chains to a trusted Azure CA but never verifies the PKCS#7 signature itself. An attacker can embed a legitimate Azure certificate alongside arbitrary content e.g. `{\"vmId\":\"\u003ctarget\u003e\"}` and the forged `vmId` will be accepted returning the victim workspace agent\u0027s session token. No authentication is required. The attacker only needs to know a target VM\u0027s `vmId` which is a `UUIDv4`. That\u0027s a practical limitation which would typically require prior access to be exploited. Versions 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3 patch the issue. As a workaround, reconfigure any Azure templates to use token authentication rather than `azure-instance-identity`."
          }
        ],
        "id": "CVE-2026-46354",
        "lastModified": "2026-07-08T19:47:02.427",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 9.1,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.2,
              "source": "security-advisories@github.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-46354",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-07-08T13:01:18.394796Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-07-07T22:16:52.467",
        "references": [
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Issue Tracking",
              "Patch"
            ],
            "url": "https://github.com/coder/coder/pull/25286"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Release Notes"
            ],
            "url": "https://github.com/coder/coder/releases/tag/v2.24.5"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Release Notes"
            ],
            "url": "https://github.com/coder/coder/releases/tag/v2.29.13"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Release Notes"
            ],
            "url": "https://github.com/coder/coder/releases/tag/v2.30.8"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Release Notes"
            ],
            "url": "https://github.com/coder/coder/releases/tag/v2.31.12"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Release Notes"
            ],
            "url": "https://github.com/coder/coder/releases/tag/v2.32.2"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Release Notes"
            ],
            "url": "https://github.com/coder/coder/releases/tag/v2.33.3"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-347"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-46354",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-07-08T13:01:18.394796Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-07-08T13:01:22.364Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "coder",
              "vendor": "coder",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 2.33.0-rc.0, \u003c 2.33.3"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 2.32.0-rc.0, \u003c 2.32.2"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 2.31.0, \u003c 2.31.12"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 2.30.0, \u003c 2.30.8"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 2.29.0, \u003c 2.29.13"
                },
                {
                  "status": "affected",
                  "version": "\u003c 2.24.5"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Coder allows organizations to provision remote development environments via Terraform. In versions prior tp 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3, `azureidentity.Validate()` verifies that the PKCS#7 signer certificate chains to a trusted Azure CA but never verifies the PKCS#7 signature itself. An attacker can embed a legitimate Azure certificate alongside arbitrary content e.g. `{\"vmId\":\"\u003ctarget\u003e\"}` and the forged `vmId` will be accepted returning the victim workspace agent\u0027s session token. No authentication is required. The attacker only needs to know a target VM\u0027s `vmId` which is a `UUIDv4`. That\u0027s a practical limitation which would typically require prior access to be exploited. Versions 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3 patch the issue. As a workaround, reconfigure any Azure templates to use token authentication rather than `azure-instance-identity`."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 9.1,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-347",
                  "description": "CWE-347: Improper Verification of Cryptographic Signature",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-07-07T21:10:01.899Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf"
            },
            {
              "name": "https://github.com/coder/coder/pull/25286",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/coder/coder/pull/25286"
            },
            {
              "name": "https://github.com/coder/coder/releases/tag/v2.24.5",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/coder/coder/releases/tag/v2.24.5"
            },
            {
              "name": "https://github.com/coder/coder/releases/tag/v2.29.13",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/coder/coder/releases/tag/v2.29.13"
            },
            {
              "name": "https://github.com/coder/coder/releases/tag/v2.30.8",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/coder/coder/releases/tag/v2.30.8"
            },
            {
              "name": "https://github.com/coder/coder/releases/tag/v2.31.12",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/coder/coder/releases/tag/v2.31.12"
            },
            {
              "name": "https://github.com/coder/coder/releases/tag/v2.32.2",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/coder/coder/releases/tag/v2.32.2"
            },
            {
              "name": "https://github.com/coder/coder/releases/tag/v2.33.3",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/coder/coder/releases/tag/v2.33.3"
            }
          ],
          "source": {
            "advisory": "GHSA-6x44-w3xg-hqqf",
            "discovery": "UNKNOWN"
          },
          "title": "Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-46354",
        "datePublished": "2026-07-07T21:10:01.899Z",
        "dateReserved": "2026-05-13T18:37:30.991Z",
        "dateUpdated": "2026-07-08T13:01:25.192Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.