# CVE-2024-57177: CouchAuth has a Server-Side Template Injection vulnerability in its email functionality

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2025-02-10T00:00:00.000Z
- Modified: 2026-06-17T08:13:21.883Z
- Also known as: GHSA-r385-c5fc-x56c
- Weaknesses: CWE-74, CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

A host header injection vulnerability exists in the NPM package of perfood/couch-auth <= 0.21.2. By sending a specially crafted host header in the email change confirmation request, it is possible to trigger a SSTI which can be leveraged to run limited commands or leak server-side information

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- @perfood/couch-auth (npm): up to 0.21.2

## Every score

- CISA-ADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/perfood/couch-auth> (package)
- <https://github.com/waristea/cve-research/tree/main/CVE-2024-57177> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-57177> (advisory)

## Sources

- CVE List: [CVE-2024-57177](https://www.cve.org/CVERecord?id=CVE-2024-57177), CVE Terms of Use, modified 2025-12-17
- GitHub Advisory Database: [GHSA-r385-c5fc-x56c](https://github.com/advisories/GHSA-r385-c5fc-x56c), CC-BY-4.0, modified 2025-12-18
- NVD: [CVE-2024-57177](https://nvd.nist.gov/vuln/detail/CVE-2024-57177), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-57177 · Whole record: https://cve.day/CVE-2024-57177.json · Rebuilt by cve.day 2026-11-25T22:58:51.474Z
