# CVE-2021-27098: Legacy Node API Allows Impersonation in github.com/spiffe/spire/pkg/server/endpoints/node

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2021-03-05T16:59:06.000Z
- Modified: 2026-07-08T06:27:37.241Z
- Also known as: GHSA-h746-rm5q-8mgq
- Weaknesses: CWE-284, CWE-295
- Assigned by: mitre

## Description

In SPIRE 0.8.1 through 0.8.4 and before versions 0.9.4, 0.10.2, 0.11.3 and 0.12.1, specially crafted requests to the FetchX509SVID RPC of SPIRE Server’s Legacy Node API can result in the possible issuance of an X.509 certificate with a URI SAN for a SPIFFE ID that the agent is not authorized to distribute. Proper controls are in place to require that the caller presents a valid agent certificate that is already authorized to issue at least one SPIFFE ID, and the requested SPIFFE ID belongs to the same trust domain, prior to being able to trigger this vulnerability. This issue has been fixed in SPIRE versions 0.8.5, 0.9.4, 0.10.2, 0.11.3 and 0.12.1.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/spiffe/spire (Go): from 0.8.1 before 0.8.5; from 0.9.0 before 0.9.4; from 0.10.0 before 0.10.2; from 0.11.0 before 0.11.3; from 0.12.0 before 0.12.1
- cncf spire: from 0.8.1 up to 0.8.4; from 0.9.0 before 0.9.4; from 0.10.0 before 0.10.2; from 0.11.0 before 0.11.3; from 0.12.0 before 0.12.1

## Every score

- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`

## References

- <https://github.com/spiffe/spire/security/advisories/GHSA-h746-rm5q-8mgq> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27098> (advisory)
- <https://github.com/spiffe/spire/commit/3c5115b57afc20a0a2c2b1b9dd60dd1fd9082e13> (web)
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27098> (web)

## Sources

- CVE List: [CVE-2021-27098](https://www.cve.org/CVERecord?id=CVE-2021-27098), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-h746-rm5q-8mgq](https://github.com/advisories/GHSA-h746-rm5q-8mgq), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-27098](https://nvd.nist.gov/vuln/detail/CVE-2021-27098), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27098 · Whole record: https://cve.day/CVE-2021-27098.json · Rebuilt by cve.day 2026-11-25T22:58:00.162Z
