{"answers":{"affected":"4 open source packages ship an affected version, including com.ritense.valtimo:core.","exploited":"There is no known exploitation of CVE-2025-58059 in the wild and no public exploit code.","fix":"Upgrade com.ritense.valtimo:core to a fixed version for your release line: 12.16.0.RELEASE or 13.1.2.RELEASE.","what":"CVE-2025-58059 is a critical code injection vulnerability in valtimo-platform valtimo-backend-libraries, published on 28 Aug 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-58059 and fix it if it is affected.\n\nWhat it is: CVE-2025-58059 is a critical code injection vulnerability in valtimo-platform valtimo-backend-libraries, published on 28 Aug 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-58059 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.ritense.valtimo:core (Maven): affected all versions; fixed in 12.16.0.RELEASE\n- com.ritense.valtimo:core (Maven): affected all versions; fixed in 12.16.0.RELEASE\n- com.ritense.valtimo:core (Maven): affected from 13.0.0.RELEASE; fixed in 13.1.2.RELEASE\n- com.ritense.valtimo:core (Maven): affected from 13.0.0.RELEASE; fixed in 13.1.2.RELEASE\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-58059/ (Markdown: https://insights.sbomify.com/CVE-2025-58059/index.md)","id":"CVE-2025-58059","markdown":"https://insights.sbomify.com/CVE-2025-58059/index.md","name":"CVE-2025-58059","record":{"aliases":["GHSA-w48j-pp7j-fj55"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Business Process Automation","requires_auth":"high_privilege","summary":"Admins can execute arbitrary code via scripting engines to access sensitive data and run executables on the host.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Valtimo is a platform for Business Process Automation. In versions before 12.16.0.RELEASE, and from 13.0.0.RELEASE to before 13.1.2.RELEASE, any admin that can create or modify and execute process-definitions could gain access to sensitive data or resources. This includes but is not limited to: running executables on the application host, inspecting and extracting data from the host environment or application properties, spring beans (application context, database pooling). The following conditions have to be met in order to perform this attack: the user must be logged in, have the admin role, and must have some knowledge about running scripts via a the Camunda/Operator engine. Version 12.16.0 and 13.1.2 have been patched. It is strongly advised to upgrade. If no scripting is needed in any of the processes, it could be possible to disable it altogether via the ProcessEngineConfiguration. However, this workaround could lead to unexpected side-effects.","ecosystems":["Maven"],"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":"Valtimo scripting engine can be used to gain access to sensitive data or resources","id":"CVE-2025-58059","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":4,"n_references":2,"next":{"headline":"cups has Authentication bypass with AuthType Negotiate","id":"CVE-2025-58060"},"packages":[{"ecosystem":"Maven","fixed":["12.16.0.RELEASE"],"introduced":["0"],"last_affected":[],"package":"com.ritense.valtimo:core","purl":null,"source":"GHSA-w48j-pp7j-fj55"},{"ecosystem":"Maven","fixed":["12.16.0.RELEASE"],"introduced":["0"],"last_affected":[],"package":"com.ritense.valtimo:core","purl":"pkg:maven/com.ritense.valtimo/core","source":"GHSA-w48j-pp7j-fj55"},{"ecosystem":"Maven","fixed":["13.1.2.RELEASE"],"introduced":["13.0.0.RELEASE"],"last_affected":[],"package":"com.ritense.valtimo:core","purl":null,"source":"GHSA-w48j-pp7j-fj55"},{"ecosystem":"Maven","fixed":["13.1.2.RELEASE"],"introduced":["13.0.0.RELEASE"],"last_affected":[],"package":"com.ritense.valtimo:core","purl":"pkg:maven/com.ritense.valtimo/core","source":"GHSA-w48j-pp7j-fj55"}],"prev":{"headline":"github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives","id":"CVE-2025-58058"},"products":["valtimo-backend-libraries"],"published":"2025-08-28","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-08-28","vendors":["valtimo-platform"]},"summary":"Admins can execute arbitrary code via scripting engines to access sensitive data and run executables on the host.","url":"https://insights.sbomify.com/CVE-2025-58059/"}