CycloneDX SBOM: Maven group still dropped in 2.6.0, so no fixed versions are reported (follow-up to #2978)
Author: jakubskopalCreated Sep 21, 2026Updated Sep 29, 2026
Since 2.5.0, scanning a CycloneDX SBOM with --lockfile drops the Maven group from package names. #2978 fixed this for npm scopes, but Maven components are still named by name alone in 2.6.0. Vulnerabilities are still found (through the purl), but the fixed version is looked up by package name, matches no affected entry, and every finding shows --, with "0 vulnerabilities can be fixed".
This is the default output of cyclonedx-maven-plugin (and Spring Boot's SBOM), which puts the groupId in group.
Repro
bom.cdx.json:
{"bomFormat":"CycloneDX","specVersion":"1.6","version":1,"components":[
{"type":"library","group":"org.apache.tomcat.embed","name":"tomcat-embed-core","version":"11.0.24",
"purl":"pkg:maven/org.apache.tomcat.embed/[email protected]?type=jar"}]}osv-scanner scan source --lockfile=bom.cdx.json --format=markdown- 2.6.0 (
ghcr.io/google/osv-scanner:latest): packagetomcat-embed-core, fixed version--, "0 vulnerabilities can be fixed" (GHSA-9xv2-5v5q-p794, GHSA-gcx9-497g-6cp6, GHSA-h3x4-894j-xpx5). - 2.4.0, and osv-scanner-action 2.3.8: package
org.apache.tomcat.embed:tomcat-embed-core, fixed version11.0.25, "3 vulnerabilities can be fixed". - The same component with
"name": "org.apache.tomcat.embed:tomcat-embed-core", or apom.xmldepending on tomcat-embed-core 11.0.24: correct on 2.6.0.
Expected
Maven components are named group:name (or taken from the purl), as in 2.4.0, so fixed versions are reported.
Source: google/osv-scanner