{"answers":{"affected":"6 open source packages ship an affected version, including promptflow-core and promptflow-tools. It affects 2 products.","exploited":"There is no known exploitation of CVE-2025-24986 in the wild and no public exploit code.","fix":"Upgrade promptflow-core to 1.17.2 or later.","what":"CVE-2025-24986 is a medium-severity code injection vulnerability in Microsoft Azure promptflow-core, published on 11 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-24986 and fix it if it is affected.\n\nWhat it is: CVE-2025-24986 is a medium-severity code injection vulnerability in Microsoft Azure promptflow-core, published on 11 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-24986 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- promptflow-core (PyPI): affected all versions; fixed in 1.17.2\n- promptflow-core (PyPI): affected all versions; fixed in 1.17.2\n- promptflow-core (PyPI): affected all versions; fixed in 1.17.2\n- promptflow-tools (PyPI): affected all versions; fixed in 1.6.0\n- promptflow-tools (PyPI): affected all versions; fixed in 1.6.0\n- promptflow-tools (PyPI): affected all versions; fixed in 1.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-24986/ (Markdown: https://insights.sbomify.com/CVE-2025-24986/index.md)","id":"CVE-2025-24986","markdown":"https://insights.sbomify.com/CVE-2025-24986/index.md","name":"CVE-2025-24986","record":{"aliases":["GHSA-gprr-v9f2-px3c","PYSEC-2026-1804","PYSEC-2026-2968"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Azure PromptFlow library","requires_auth":"none","summary":"An attacker can execute arbitrary code remotely due to improper isolation in Azure PromptFlow libraries.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"azure_promptflow_core","vendor":"microsoft"},{"product":"azure_promptflow_tools","vendor":"microsoft"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-653","name":"Improper Isolation or Compartmentalization"}],"description":"Improper isolation or compartmentalization in Azure PromptFlow allows an unauthorized attacker to execute code over a network.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Azure Promptflow Remote Code Execution Vulnerability","id":"CVE-2025-24986","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":6,"n_references":1,"next":{"headline":"Windows USB Video Class System Driver Elevation of Privilege Vulnerability","id":"CVE-2025-24987"},"packages":[{"ecosystem":"PyPI","fixed":["1.17.2"],"introduced":["0"],"last_affected":[],"package":"promptflow-core","purl":null,"source":"GHSA-gprr-v9f2-px3c"},{"ecosystem":"PyPI","fixed":["1.17.2"],"introduced":["0"],"last_affected":[],"package":"promptflow-core","purl":"pkg:pypi/promptflow-core","source":"GHSA-gprr-v9f2-px3c"},{"ecosystem":"PyPI","fixed":["1.17.2"],"introduced":["0"],"last_affected":[],"package":"promptflow-core","purl":"pkg:pypi/promptflow-core","source":"PYSEC-2026-1804"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"promptflow-tools","purl":null,"source":"GHSA-gprr-v9f2-px3c"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"promptflow-tools","purl":"pkg:pypi/promptflow-tools","source":"GHSA-gprr-v9f2-px3c"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"promptflow-tools","purl":"pkg:pypi/promptflow-tools","source":"PYSEC-2026-2968"}],"prev":{"headline":"Microsoft Windows Fast FAT File System Driver Integer Overflow","id":"CVE-2025-24985"},"products":["Azure promptflow-core","Azure promptflow-tools"],"published":"2025-03-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-13","vendors":["Microsoft"]},"summary":"An attacker can execute arbitrary code remotely due to improper isolation in Azure PromptFlow libraries.","url":"https://insights.sbomify.com/CVE-2025-24986/"}