# CVE-2024-45793: Cross-site Scripting from in Confidant API call

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

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **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.56% (percentile 40, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-rxq8-q85f-m866, PYSEC-2026-1269
- **Published:** 2024-09-20T15:45:23.000Z
- **Modified:** 2026-07-07T17:56:32.718Z

## Who should check

- Projects that depend on PyPI package confidant (\< 6.6.2)
- Anyone running lyft confidant \< 6.6.2

## Description

Confidant is a open source secret management service that provides user-friendly storage and access to secrets. The following endpoints are subject to a cross site scripting vulnerability: GET /v1/credentials, GET /v1/credentials/, GET /v1/archive/credentials/, GET /v1/archive/credentials, POST /v1/credentials, PUT /v1/credentials/, PUT /v1/credentials//\<to\_revision\>, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//\<to\_revision\>. The attacker needs to be authenticated and have privileges to create new credentials, but could use this to show information and run scripts to other users into the same Confidant instance. This issue has been patched in version 6.6.2. All users are advised to upgrade. There are no known workarounds for this vulnerability.

## Affected and fixed versions

- PyPI `confidant`: affected \< 6.6.2; fixed 6.6.2 (osv)
- lyft confidant: \< 6.6.2 (cvelist)

## Mitigation

- Upgrade confidant to 6.6.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-45793.md
Affected: confidant < 6.6.2
Fixed in: 6.6.2

Steps:
1. Search this machine and project for confidant (PyPI), lyft confidant: 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-2024-45793 being exploited?

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

### How serious is CVE-2024-45793?

Medium: CVSS 4.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-45793?

confidant \< 6.6.2.

### Is there a fix for CVE-2024-45793?

Yes. Fixed in 6.6.2. Upgrade confidant to 6.6.2 or later.

### How do I check if I'm affected by CVE-2024-45793?

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://github.com/lyft/confidant/security/advisories/GHSA-rxq8-q85f-m866>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-45793>
- vendor: <https://github.com/advisories/GHSA-rxq8-q85f-m866>
- patch: <https://github.com/lyft/confidant/commit/8876b07abde0c8d2a4974f79b60562b6d0193db9>
- other: <https://hackerone.com/reports/2332004>
- other: <https://hackerone.com/reports/2456673>
- other: <https://hackerone.com/reports/2476542>
- other: <https://github.com/lyft/confidant>
- other: <https://pypi.org/project/confidant>

## 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-2024-45793>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rxq8-q85f-m866> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1269> (license: <https://creativecommons.org/licenses/by/4.0/>)

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