# CVE-2019-10790: TaffyDB can allow access to any data items in the DB

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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): 1.86%, higher than 79% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-17T00:00:00.000Z
- Modified: 2026-09-10T03:48:27.600Z
- Also known as: GHSA-mxhp-79qh-mcx6
- Weaknesses: CWE-20, CWE-668
- Assigned by: snyk

## Description

taffydb npm module, vulnerable in all versions up to and including 2.7.3, allows attackers to forge adding additional properties into user-input processed by taffy which can allow access to any data items in the DB. taffy sets an internal index for each data item in its DB. However, it is found that the internal index can be forged by adding additional properties into user-input. If index is found in the query, taffyDB will ignore other query conditions and directly return the indexed data item. Moreover, the internal index is in an easily-guessable format (e.g., T000002R000001). As such, attackers can use this vulnerability to access any data items in the DB.

(As written by CVE List.)

## Affected

- taffy npm module: All versions including 2.6.2
- taffy (npm): up to 2.6.2
- taffydb (npm): up to 2.7.3
- taffydb taffy: up to 2.6.2

## Every score

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

## References

- <https://snyk.io/vuln/SNYK-JS-TAFFY-546521> (exploit, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JS-TAFFYDB-2992450>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10790> (advisory)
- <https://www.npmjs.com/package/taffy> (web)
- <https://www.npmjs.com/package/taffydb> (package)

## Sources

- CVE List: [CVE-2019-10790](https://www.cve.org/CVERecord?id=CVE-2019-10790), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-mxhp-79qh-mcx6](https://github.com/advisories/GHSA-mxhp-79qh-mcx6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2019-10790](https://nvd.nist.gov/vuln/detail/CVE-2019-10790), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10790 · Whole record: https://cve.day/CVE-2019-10790.json · Rebuilt by cve.day 2026-11-25T22:57:49.463Z
