Skip to content
Fencer Intel
high 7.8

CVE-2026-73231 json

Faker: helpers.fake exploitable into arbritary code execution

published 4mo ago modified 12h ago also EUVD-2026-56923 , GHSA-qxc2-j82w-r537

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 11%
public exploits
0
none known

Summary

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.

Patch / fix

Is CVE-2026-73231 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-73231 updated cvss 8.8

@faker-js/faker: Faker: Arbitrary Code Execution via attacker-controlled fake templates

  • Red Hat Cryostat 4 faker 10.4.0 Red Hat AMQ Broker 7 faker 10.4.0 Red Hat Build of Keycloak faker 10.4.0
    not affected: component not present
  • Red Hat Enterprise Linux 10 grafana
    not affected: vulnerable code not in execute path
  • Red Hat Hardened Images grafana, grafana12.4 12.4.8-0.1.hum1 Red Hat JBoss Enterprise Application Platform 8 faker 10.4.0 Red Hat JBoss Enterprise Application Platform Expansion Pack faker 10.4.0
    not affected: component not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-11).

Exploits and checks

  • github.com https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm @faker-js/faker
<10.5.0
10.5.0

Affected products

  • faker-js faker

Classification

Weakness
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of faker-js/faker published their own advisory on GitHub. Reviewed sources take precedence over it.