CycloneDX Generator (cdxgen)

OWASP Foundation·CycloneDX.cdxgen

A polyglot tool and a library for generating various Bill of Materials in CycloneDX specification.

Generate Software Bill of Materials (SBOM) for most applications and container images with a single command. Generate Operations Bill of Materials (OBOM) for Linux and Windows hosts. Integrate with any CI/CD pipeline. Automatically submit the generated BOM to your dependency track server for analysis.

winget install --id CycloneDX.cdxgen --exact --source winget

Latest 13.9.0·November 27, 2026

Release Notes

13.9.0 This is another security release. A response to Anthropic's OSS Scanner scan cdxgen-20261117-013 closes ten advisories covering roughly 310 security findings and 35 ordinary bugs, described under Security below. Alongside it, cdxgen reads the GitHub Actions lockfiles that projects commit, identifies installed JDKs and flags Java4Shell exposure, supports Quarkus 4 including the SBOMs that Quarkus jars embed, keeps AI model artifacts apart from the models they hold, and gives cdx-audit the registry rules dep-scan 7 needs. pnpm workspaces report optional and peer dependencies more accurately, the cryptographic inventory covers twice as many algorithm names, and the container images move to AlmaLinux 10.3 and work under a non-root user. The default spec version stays 1.7, and 1.6 and 1.7 output is unchanged apart from the fixes described here.

Security Scanned content can no longer direct credentials or execution: registry, API and forge credentials such as the Docker login, the Dependency-Track API key, the TEA token and the gem server key are spent only on hosts the operator or cdxgen chose, and a hostile OCI referrer descriptor can no longer point them at its own host (GHSA-374f-wc4j-7gvh). With installs off, a scanned tree can no longer start project tooling, a gpg program or project code through the cdxi create command, pnpx, quoted .npmrc keys, the piptree helper's imports, go or sourcekitten options, or a planted .git/config (GHSA-qp92-6qfc-m3qp). Secrets from scanned content stay out of BOMs, logs and reports: $env{} expansions in CMake presets, $(NAME) in MSBuild, .npmrc interpolation and the operator's own options no longer reach the output (GHSA-9p6r-xq8f-m9jp). Files and hosts outside the scan stay closed: discovery refuses matches that resolve outside the searched directory, which secure mode enforces and other modes allow back with CDXGEN_FOLLOW_EXTERNAL_SYMLINKS=true (GHSA-xf67-rmrx-h6mp), and evidence, output and cache paths can no longer be steered by planted symlinks, the slices output name, /proc/self/cwd or a .. cache host into overwriting or deleting files (GHSA-5pc2-gg7c-37c9). Work is bounded on every front. Crafted manifests, lock files, build and CI files, archives and container images can no longer drive quadratic or exponential parsing, grow memory without limit, inflate the BOM or fill the temp directory; the input caps are documented in docs/ADVANCED.md and docs/THREAT_MODEL.md (GHSA-6vww-36x2-c89f). Server requests, git hosts, registries, TEA servers, remote documents and crafted BOMs carry deadlines and size bounds that also protect cdx-verify, cdx-convert, cdx-validate, cdx-audit and the SPDX export (GHSA-rwjh-mqfm-9qxr). In server mode, scans of different clients no longer share slices, caches or credentials, one client's HTTP 429 no longer pauses later scans, and the git clones a client can request are capped at 1 GiB, 200000 entries and five minutes (GHSA-9232-cjmp-gg6q). Verification and audit report what they find. cdx-sign and cdx-verify reject a BOM whose root signature was stripped, a nesting around 4470 levels deep, or a nested BOM that can be lifted out; an embedded SBOM can no longer set cdx: properties on other components to hide audit findings; and scanned text no longer reaches the terminal with control characters (GHSA-367g-m2q9-pwqh). A purl of proto in an evinse input BOM or a .NET repository scanned in server mode no longer writes onto Object.prototype (GHSA-v934-7hh4-p7gh). Several behaviour changes come with these fixes and are recorded on the advisories: .cdxgen.json can no longer set the TUI, audit rules directory, compile commands, server URL, host crypto in formulation or path options in secure mode, project .npmrc proxy and TLS settings no longer override the ones cdxgen composes for its automatic installs, DOCKER_AUTH is sent only to DOCKER_SERVER_ADDRESS, URLs in external references and properties keep the query parameters that name the target, and ASAR file-entry bom-refs are relative to the scan root with a header digest, so stored references change once. Auditing a saved BOM with cdx-audit --bom reads git history only under --workspace-dir, so findings can no longer come from whatever repository the command happens to run in (#4878). Go scans run golem with CGO_ENABLED=0 unless evinse --golem-cgo opts back in, so a package's #cgo directives cannot run the C compiler on the analysed machine; this follows the Go 1.27.4 and 1.26.11 cgo security releases, CVE-2026-97033 through CVE-2026-97043 (#4851). Every scan type now identifies the installed JDKs from their release file without executing anything, and flags Java4Shell exposure (CVE-2026-114938); the container images move to the vendor builds that fix it and set JAVA_TOOL_OPTIONS to disable the HotSpot Base64 intrinsic on builds that have no fixed JDK yet (#4863, #4867, #4885).

GitHub Actions lockfiles The -t github scan reads a committed .github/workflows/actions.lock offline, in the format the gh actions-lock extension writes. Locked steps carry cdx:github:lock:* properties and cdx:github:action:isLocked, the transitive actions of locked composite actions join the BOM as components, and drift is reported through isLocked=false, lockRefMismatch, lockStalePins and lockfileOnboarded=false with counts in the metadata properties. Four new audit rules, CI-025 to CI-028, check pinning and lockfile coverage, and the REPL gains an .actionslock pivot. Two small output changes come with this: a sub-action reference now produces a repository-scoped purl such as pkg:github/actions/cache@v4, and a reference without a namespace no longer aborts the whole workflow file (#4864). cdxgen's own repository is onboarded to the same lockfile, and release builds now attach a signed source SBOM generated with the github project type (#4872).

Java and Quarkus 4 A jar built by Quarkus 4 with quarkus.cyclonedx.embedded.enabled carries its dependency SBOM at META-INF/sbom/dependency.cdx.json, and cdxgen now reads any CycloneDX document under that directory, up to 32 MiB, merging its components and dependency graph and recording the entry in internal:SrcFile and identity evidence. Jackson 3 jars keep the group they declare themselves, tools.jackson.core, instead of being aliased to com.fasterxml.jackson.core, and the manifest fallback that produced that alias now applies only when the jar's Bundle-SymbolicName is exactly the alias's group plus artifact. In -t quarkus mode the scan reads only the *-dependency-cyclonedx.json files the Maven goal writes and falls back to the dependency tree, so a distribution SBOM left next to them no longer pollutes the result. GraalVM native images continue to expose their embedded SBOM through blint (#4912). The Quarkus 4.0.1 quickstart is covered by repotests. The JDK identification described under Security also adds each JDK as a component with a vendor, build, architecture and VM properties and a purl such as pkg:generic/[email protected]%2B10.

AI-BOM Model artifacts are kept apart from the models they hold. Header facts such as cdx:onnx:* and cdx:safetensors:* and the SHA-256 of files up to 4 GiB sit on file components, while the model keeps its logical facts, one cdx:ai:confidence and one cdx:ai:parameterCount. Files that share a stem but not a directory no longer merge, the dependency direction is model to artifact everywhere, and the ONNX and safetensors readers validate against the format specifications, so a malformed file is reported as unparsed with low confidence instead of inventing numbers (#4888, #4887).

Cryptographic inventory OpenSSL-style algorithm names now map onto the OID table, whose coverage grows from 60 to 128 names with SHA-512/224 and /256, RSA-SHA3, AES-XTS, BLAKE2 and SM3/SM4 among the additions, so Node.js detections such as aes-256-gcm and chacha20-poly1305 are no longer dropped. RSA and EC keys record a parameterSetIdentifier, which separates RSA-2048 from RSA-4096 and names the curve for EC keys. WebCrypto, jwt.verify and jwt.sign, createECDH and the DH constructors are covered, and algorithm names read from process.env or Deno.env gain a cdx:crypto:runtimeConfigurable property (#4904).

JavaScript and pnpm A pnpm package stored under a peer resolution, such as [email protected]([email protected]), is found in the virtual store with its description, license and install path (#4844). Packages whose store directory name pnpm shortened and hashed are found by recomputing pnpm's exact directory name across both hash generations (#4890). Imports of optional and peer dependencies are credited to the version the workspace member or root actually uses, and a devDependency that another package lists as an optional peer is no longer marked optional, which keeps typescript in --required-only output for ng new workspaces (#4895, #4902). A scoped package no longer takes the evidence of its bare name, an optional dependency stays optional despite usage evidence, and a component nothing uses carries its declaring manifests as evidence occurrences under the new cdx:evidence:occurrences:declaration property (#4891). Subpath package.json manifests shipped for deep imports, by dom-helpers and styled-components for example, no longer become versionless components in projects without a lockfile (#4883). The install gets lighter: ajv and ajv-formats move to devDependencies with the generated validators taking their format checks from cdxgen, ssri is replaced by node:crypto, and @bufbuild/protobuf drops from the optional dependencies since @cdxgen/cdx-proto already carries it. A production install sheds about 1.3 MB (#4895).

cdx-audit

Installer type: portable

x64—B85D631D7C1EEB262DC635E582425962FCA6CA42ED5559B5BDFE1E83864AA286
arm64—6E1153CE300B803B95F2FE0E0EEB69C61F362A8D3F104BBD5DC0923716B7B546

Details

Homepage
https://github.com/CycloneDX/cdxgen
License
Apache-2.0
Publisher
OWASP Foundation
Support
https://github.com/CycloneDX/cdxgen/issues
Moniker
cdxgen

Tags

bomcbomcontainerscyclonedxdockerociowasppackage-urlpurlsaasbomsbomscasoftware-bill-of-materialssupply-chain

Older versions (59)

13.7.0
x64—40C448644E4454EFC020EF38C31CB4AF578315BE7549C99240F11D5759881DCC
arm64—51AC6E473758E508A6423DD96F24F6B4B584169C92678F36AD5CD50A86B099A7
13.6.0
x64—71C49545872F881B7C27655329D6E381E8A5837CADDCDB017E3A09161D21DCFD
arm64—F7FE363CC86249EBDA1DE24DEB0557234F64B87E5748075124BFEED6016D45F8
13.5.0
x64—41AF8C242026E62591F4C969C2C951BBAD7F2084AEC97C3577129B45F5ABFAD4
arm64—3A660498776EEB03ED729803429EBBE108E9D0DBACEF0E93BABC6C48AED48DE0
13.4.0
x64—0B4A6EC411A70127D72E2F6FC45277F03FA64D4237A40325D0FF117634B76375
arm64—0AEB90F5CADACA7C97D7B315003897FCAEEB9E7BAB2FDEB2D8F9A5E53A8FC0A9
13.2.0
x64—442F0B8D3E6D24B5484FDC0B6270676F3BEA0845B405604F3E6000DE2C76A84D
arm64—62c32fcba54d163318c5358d59c4100dc80a2eca672eec0bea2bff205dbe2b9a
13.1.0
x64—F5AB12F5A3B998BA1C90AFDC97CAA65BFCABEF9CB72DCA869226FAEEB2B3B1BD
13.0.1
x64—D9767898D1076438CAB497E2C74C68F2CA76751DB6A3F69627CBBC87E189F458
13.0.0
x64—8113E4617E40B669548AB396E605E02A032983DB42375A424926369481F02540
12.9.0
x64—551C407C7D6C30915364C9B95ACE14CEAA2188EAE3B131C98F5E6086EA801997
arm64—1C7C521204C053A44FDC8815CB7E340F5D0AD34D096BF62696345582F8A6C780
12.8.3
x64—F3E014A9EC35E864E6FC4A0547A00068C8F752F2B952E69C1B1F9A4E995A8763
12.8.2
x64—318CDE28194B6977E291E97C2B8600A91FC1185F41ED6CC658FB9846A7FCFC8B
12.8.1
x64—AC9025A33AFFDF5651B7AAA5947391878EC4C07563278FCB8C5BEDD77CC84788
12.8.0
x64—16943508AA3EED1F14A4456CB3491F1783244A63B036E40D596FE424D420D076
12.7.1
x64—B2751566100AE5CE85975961A07A1EF8F5B4D3BC0F27A3165967488EFA94DF6C
12.7.0
x64—C92A793C5E3177CAA3297DF88317529D9D225113CF0B4C7BB144438B0DB257D1
12.6.0
x64—F3E574377AE6A850DD82EAFA901E7BFFDDFC4B503BB3710E608E6E9544B141EE
12.5.1
x64—7B409D7199C3795D6378A33756FC8B2FB8A26153C2E010D67961D98F989EACE3
12.5.0
x64—C5C8C345A7056AE769823A8E45BC4458DCB5E6155FE451A55B764D03A399C4C5
12.4.4
x64—444E7714C004049DC5ACD9A74A13298BAB714E52330700DDFA1E6326B09711E7
12.4.3
x64—95CC002E54428770587C3399443B1EDA5A0DD8B6FAE95ACA02F0A449A9E50BA3
12.4.2
x64—0B1A4A7D07BD1BFCEB57D36715392F11A5921058FE3091B4C9A2EE7C540490B9
12.4.1
x64—7F7898E103231D44CE6CE0EA42C0CFC75E3244DF7A81312E068D03828AD8EDED
12.4.0
x64—D89F75FE4ED72D3E34CE07A0CF1D8C8988BBE3EC311F5C94D721CD4B4716C2CC
12.3.3
x64—7BB2AFE76CD18086BB31B0BF7B4EE898E717A46A33E5C4C39496492A0785FF62
12.3.2
x64—181E7D3AA22FE588C90EDBB53EA9A2DDDE6C746BE8F230F61BF248707A48B57A
12.3.1
x64—2B98C8F33268FDE61ED849FF0616F5BAE5720D889778A852F94439B9000F3495
12.3.0
x64—5B963F1C12F752372A360AACC279D4CEF566BBAC1261775286372600F13FDCD4
12.2.1
x64—470E0E806E7B638AE8F0EC5839D39399C79175574565B6AB5594EB26E14EA527
12.2.0
x64—00FECB55B50A3AD1E8E42E5BB011C7086CA80875D1A31405625AC8961EF73D15
12.1.5
x64—19D9EBD3F5ED1390CC33C1AC503AE5504BB201959F7A09A3158AC87F4C5044BD
12.1.4
x64—607AFFB6EB91692133409E4654E0FC0896BE99407FFDF2A147BA9450739C8ADC
12.1.3
x64—BA5A684C7F6BA93AC8174B9A3ACD85D1A5D1717E09CE4F06CEF1EA174E942310
12.1.2
x64—B14DAB570906B46B7DD63247A9A85FFCC7B8E5792824FA75A41DF2DD36596B3F
12.1.1
x64—0F6B20ED599FAB7691C9B1B5198C6B55308CD60849640E5802E4F33B3902CCB9
12.1.0
x64—B8410E379374224C5424EC95399BC047B84DABDB202A420BBD31DCDA630C979C
12.0.0
x64—9660B2AEC4ED897C3E89EFA33D4F648D6D83E3987C8FDA791DC77DF2F97B8C7C
11.11.0
x64—029E94F13C99A52169B0EFF7585F1181A7B6A4C654FDAB7ED02105677123D1EF
11.10.0
x64—7040F626082A19F687EF9E39CA12B22FD19C8322588F00B84E3C5257E6CE3612
11.9.0
x64—63CE182C19ABEB7C949181C72599E798014784A8D8D616A2BC8659832800EEDF
11.8.0
x64—CA5BBD6D04279970AF3E04566E8888ED250BE9A7EDC6ADC52BDE9D20EE4479CB
11.7.0
x64—730AFB5DA16150E15D1046811003713AA2CF570175140FCFAEF633E004A90380
11.6.0
x64—C186406861E40E11FE2F8371EF8830E66017F3ADD117AEDEE26E77C85E37650D
11.5.0
x64—CCEF5A440AA535EC3B56229B4E2EED5676EDC02B4C366017D669BFF51CD12532
11.4.3
x64—C7B95E62D4653AE7EB7AE1A3FB765649A4AF6DA34B2B2B391D91740A3D29FA33
11.4.2
x64—AD5530E5E4365D838F4D28F6735C1AFED431F61393CBC6DB3F278CBC5CA3F063
11.4.1
x64—2005FA5A299C77511C534B1DF3CEB7D342FDAEB3D3AA1761B4775F8D184EFA96
11.4.0
x64—EA554DDE1DAB225C79654F002FA4C63B6D6FCEAA0A6D5EBD734A080547D012A3
11.3.2
x64—C568D9B1963ABA04F25F1CF05E0EA7CE223F6FF899C3BF0ABF79468466887154
11.3.1
x64—8181662C4140F756AE3FC318642A9779A542FE655391C99167193DF17335C121
11.3.0
x64—DE30E1DE54DFF84A2CA6921FE2E794BCAA52238B70874CDBC6D67D69BB109291
11.2.7
x64—B06642E8C15479F600D9DA055659657FCC69C50C3482C2792F8143A1AA0CECE7
11.2.6
x64—DBE9E84FF27902710CB1C46566F7A7DFCB83528E8D1FF3FE2265FF878C9E240A
11.2.5
x64—A8303AA9FEF26C43A07D70C7BD075D7F3AA53E95A9B4275523B58507D5416FD2
11.2.4
x64—685D1281854315C951A4410A3F9DB3A568AAF4B29E6395186E167363E7343201
11.2.3
x64—43DB4CB53F45B3CF32688B2D3B5E8121FC361A01BE9215BC7AE73F0814E7C58F
11.2.2
x64—F47335133C1E9080FEDA4044DFFD295338A5FF5B1CCD1AC31DAC92BA40A7C43F
11.2.1
x64—18C0C17955C5AF8BF1D83B248B24F1FB17DD007BFC35607B60DDDEAFB26388BA
11.2.0
x64—AB6E6543164ADE7127DD5FAD82B243F178AB504489CF2F16CF15B35C1D242B32
11.1.10
x64—E75692EB7B1ED548AE526530464A3E2B062434F3337E7D3891A331A19715FE43