Skip to content
Fencer Vulns
high 7.8

CVE-2026-73231 json

Faker: helpers.fake exploitable into arbritary code execution

published 2026-08-11 2 mo ago modified 2026-10-24 15 d ago also GHSA-qxc2-j82w-r537 , EUVD-2026-56923

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

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
2 mo ago

Exploit prediction

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

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 Vulns 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.