# CVE-2021-28496: In Arista's EOS software affected releases, the shared secret profiles sensitive configuration might be leaked when displaying output over eAPI or other JSON outputs to authenticated users on the device.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.7
- **CVSS:** 5.7 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-311
- **Published:** 2021-10-21T16:41:47.224Z
- **Modified:** 2026-06-17T03:46:27.927Z

## Who should check

- Anyone running Arista Networks Arista EOS \>= EOS-4.22, \<= EOS-4.22.12; \>= EOS-4.23, \< EOS-4.23.10; \>= EOS-4.24, \< EOS-4.24.8; \>= EOS-4.25, \< EOS-4.25.5; \>= EOS-4.26, \< EOS-4.26.2

## Description

On systems running Arista EOS and CloudEOS with the affected release version, when using shared secret profiles the password configured for use by BiDirectional Forwarding Detection (BFD) will be leaked when displaying output over eAPI or other JSON outputs to other authenticated users on the device. The affected EOS Versions are: all releases in 4.22.x train, 4.23.9 and below releases in the 4.23.x train, 4.24.7 and below releases in the 4.24.x train, 4.25.4 and below releases in the 4.25.x train, 4.26.1 and below releases in the 4.26.x train

## Affected and fixed versions

- Arista Networks Arista EOS: \>= EOS-4.22, \<= EOS-4.22.12; \>= EOS-4.23, \< EOS-4.23.10; \>= EOS-4.24, \< EOS-4.24.8; \>= EOS-4.25, \< EOS-4.25.5; \>= EOS-4.26, \< EOS-4.26.2 (cvelist)

## Mitigation

- Vendor workaround: The restriction of access to the related CLI show command of specified role type can be used as an immediate mitigation. 
- The detailed instructions of role-based authorization can be found at https://www.arista.com/um-eos/eos-user-security\#xx1347683.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-28496. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-28496.md
Affected: Arista Networks Arista EOS >= EOS-4.22, <= EOS-4.22.12; >= EOS-4.23, < EOS-4.23.10; >= EOS-4.24, < EOS-4.24.8; >= EOS-4.25, < EOS-4.25.5; >= EOS-4.26, < EOS-4.26.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Arista Networks Arista EOS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-28496 being exploited?

There is no confirmed exploitation: CVE-2021-28496 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-28496?

Medium: CVSS 5.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-28496?

Arista Networks Arista EOS \>= EOS-4.22, \<= EOS-4.22.12; \>= EOS-4.23, \< EOS-4.23.10; \>= EOS-4.24, \< EOS-4.24.8; \>= EOS-4.25, \< EOS-4.25.5; \>= EOS-4.26, \< EOS-4.26.2.

### Is there a fix for CVE-2021-28496?

No fixed version is listed in the sources yet. Vendor workaround: The restriction of access to the related CLI show command of specified role type can be used as an immediate mitigation.  The detailed instructions of role-based authorization can be found at https://www.arista.com/um-eos/eos-user-security\#xx1347683.

### How do I check if I'm affected by CVE-2021-28496?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.arista.com/en/support/advisories-notices/security-advisories/13243-security-advisory-0069>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-28496>

HTML: <https://flawdb.com/CVE-2021-28496> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-28496>
