{"answers":{"affected":"8 open source packages ship an affected version, including org.springframework:spring-websocket. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41838 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-websocket to a fixed version for your release line: 6.2.19 or 7.0.8.","what":"CVE-2026-41838 is a medium-severity vulnerability in Vmware Spring Framework, published on 9 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-41838 and fix it if it is affected.\n\nWhat it is: CVE-2026-41838 is a medium-severity vulnerability in Vmware Spring Framework, published on 9 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-41838 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-websocket (Maven): affected all versions up to 5.3.48; no fix listed\n- org.springframework:spring-websocket (Maven): affected all versions up to 5.3.48; no fix listed\n- org.springframework:spring-websocket (Maven): affected from 6.1.0 up to 6.1.27; no fix listed\n- org.springframework:spring-websocket (Maven): affected from 6.1.0 up to 6.1.27; no fix listed\n- org.springframework:spring-websocket (Maven): affected from 6.2.0; fixed in 6.2.19\n- org.springframework:spring-websocket (Maven): affected from 6.2.0; fixed in 6.2.19\n- org.springframework:spring-websocket (Maven): affected from 7.0.0; fixed in 7.0.8\n- org.springframework:spring-websocket (Maven): affected from 7.0.0; fixed in 7.0.8\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-2026-41838/ (Markdown: https://insights.sbomify.com/CVE-2026-41838/index.md)","id":"CVE-2026-41838","markdown":"https://insights.sbomify.com/CVE-2026-41838/index.md","name":"CVE-2026-41838","record":{"aliases":["CLSA-2026-1783645402","CLSA-2026-1787559106","DEBIAN-CVE-2026-41838","ECHO-e4f7-3cd4-8c4e","GHSA-q723-847q-5g8g","UBUNTU-CVE-2026-41838"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Framework","requires_auth":"low_privilege","summary":"Attackers can predict WebSocket session IDs to bypass authorization controls in applications using the Spring Framework WebSocket module.","user_interaction":"required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_framework","vendor":"vmware"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"description":"IDs for WebSocket sessions in the spring-websocket module are not cryptographically unpredictable, which may be possible to exploit in combination with inadequate authorization rules.\n\nAffected versions:\nSpring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.","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":"Spring Framework Predictable Session ID in WebSocket Module","id":"CVE-2026-41838","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"vmware:spring_framework","products":["vmware:spring_framework"],"type":"weak_cryptography","year":"2026"},"n_packages":8,"n_references":1,"next":{"headline":"Spring Framework Escalation via Session Fixation in WebFlux","id":"CVE-2026-41839"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.48"],"package":"org.springframework:spring-websocket","purl":null,"source":"GHSA-q723-847q-5g8g"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.48"],"package":"org.springframework:spring-websocket","purl":"pkg:maven/org.springframework/spring-websocket","source":"GHSA-q723-847q-5g8g"},{"ecosystem":"Maven","fixed":[],"introduced":["6.1.0"],"last_affected":["6.1.27"],"package":"org.springframework:spring-websocket","purl":null,"source":"GHSA-q723-847q-5g8g"},{"ecosystem":"Maven","fixed":[],"introduced":["6.1.0"],"last_affected":["6.1.27"],"package":"org.springframework:spring-websocket","purl":"pkg:maven/org.springframework/spring-websocket","source":"GHSA-q723-847q-5g8g"},{"ecosystem":"Maven","fixed":["6.2.19"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework:spring-websocket","purl":null,"source":"GHSA-q723-847q-5g8g"},{"ecosystem":"Maven","fixed":["6.2.19"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework:spring-websocket","purl":"pkg:maven/org.springframework/spring-websocket","source":"GHSA-q723-847q-5g8g"},{"ecosystem":"Maven","fixed":["7.0.8"],"introduced":["7.0.0"],"last_affected":[],"package":"org.springframework:spring-websocket","purl":null,"source":"GHSA-q723-847q-5g8g"},{"ecosystem":"Maven","fixed":["7.0.8"],"introduced":["7.0.0"],"last_affected":[],"package":"org.springframework:spring-websocket","purl":"pkg:maven/org.springframework/spring-websocket","source":"GHSA-q723-847q-5g8g"}],"prev":{"headline":"Spring Data REST Querydsl integration exposes Jackson-hidden persistent fields as filter keys","id":"CVE-2026-41837"},"products":["Spring Framework"],"published":"2026-06-09","related":[{"cvss_score":9.8,"headline":"Spring Framework Improper Path Limitation in XsltView","id":"CVE-2026-47884","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework Server Sent Event stream corruption while rendering fragments","id":"CVE-2026-47890","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework maxInMemorySize Bypassed in Jaxb2Decoder","id":"CVE-2026-47891","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework Header Predicate Bypass in WebFlux Functional Endpoints","id":"CVE-2026-47892","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Server Sent Event stream corruption in Spring MVC functional web framework","id":"CVE-2026-59313","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Pivotal Spring Framework contains unsafe Java deserialization methods","id":"CVE-2016-1000027","kev_date_added":null,"published":"2020-01-02"},{"cvss_score":9.1,"headline":"Spring Framework Safety Guard Bypass via SpEL Expression Compilation","id":"CVE-2026-59283","kev_date_added":null,"published":"2026-08-27"}],"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":"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-27","vendors":["Spring"]},"summary":"Attackers can predict WebSocket session IDs to bypass authorization controls in applications using the Spring Framework WebSocket module.","url":"https://insights.sbomify.com/CVE-2026-41838/"}