OSV Scanner

Google·Google.OSVScanner

Vulnerability scanner written in Go which uses the data provided by https://osv.dev

winget install --id Google.OSVScanner --exact --source winget

Latest 2.7.1·November 9, 2026

Release Notes

v2.7.1

Features:

• Feature #3158 Prefer ecosystem priority (such as Ubuntu severity) in table output when available (resolves #1275). • Feature #3178 Add a "Fix available" filter checkbox to HTML reports (fixes #3016). • Feature #3173 Warn about unused or expired [[PackageOverrides]] configuration entries (resolves #3160). • Feature #3184 Support EffectiveUntil in [[IgnoredVulns]] configuration entries and deprecate IgnoreUntil. • Feature #3179 Improve GitHub Actions annotation escaping and include line numbers so annotations appear directly on files. • Feature #3159 Support mapping additional ecosystems (Bitnami, GitHub Actions, Linux, OSS-Fuzz) to PURL types in osvscanner.json (osv/osvscannerjson) extractor. • Dependency scanning & lockfile improvements via osv-scalibr: • Add Echo OS ecosystem mapping (Echo) to the DPKG extractor (os/dpkg) and Debian version parsing for Echo advisories (google/osv-scalibr#2453). • Add line number support to the dotnet/paketlock extractor (google/osv-scalibr#2561). • Append base images in the deps.dev baseimage enricher instead of overwriting pre-existing base image chains (google/osv-scalibr#2481). • Support .tgz archive files in embeddedfs/archive (google/osv-scalibr#2540). • New extractors and plugin support via osv-scalibr: • Enable os/ubuntu/binarytosource enricher in the vulns preset to map Ubuntu binary package names from Chisel manifests to source package names (google/osv-scalibr#2482). • Added extractors for FreeBSD packages (os/freebsd, google/osv-scalibr#2048), Go workspaces (go/gowork, google/osv-scalibr#2139), Cabal installed packages (haskell/cabalconf, google/osv-scalibr#2447), Python setup.cfg (python/setupcfg, google/osv-scalibr#2369), and installed R packages (r/rpkg, google/osv-scalibr#2040), available via --x-plugins (--experimental-plugins). • Rename haskell/cabal extractor to haskell/cabalprojectfreeze (google/osv-scalibr#2447) and chrome/extensions to browser/extensions (with added Edge and Firefox extension support, google/osv-scalibr#2184). See "Supported Inventory Types" for extractor names.

Fixes:

• Bug #3216 Scan npm registry packages with omitted resolved URLs while skipping local workspace and file:/link: packages (fixes #2881, #3177, google/osv-scalibr#2560). • Bug #3214 Reject malformed ar archive member sizes instead of panicking during --call-analysis=rust scans (fixes #3202). • Bug #3251 Pass extraction stats to ScannerActions.StatsCollector when provided. • Bug #3114 Group connected vulnerabilities transitively regardless of the order they are encountered (resolves #3107). • Bug #3147 Stop treating upstream identifiers as aliases when grouping vulnerabilities. • Bug #3199 Sort package vulnerabilities deterministically by ID in output results. • Bug #3155 Print license violations for OS sources without vulnerabilities or deprecations. • Bug #3156 Don't display "No fix available" in table output for packages with license violations and no vulnerabilities. • Bug #3169 Restrict the HTML report server (--serve) to bind to the loopback interface (127.0.0.1) by default (fixes #3165). • Bug #3213 Use the correct IgnoredVulns key in MCP configuration instructions (resolves #3209). • Bug #3241 Clarify that --all-packages applies to JSON and SBOM output formats (fixes #3220). • Bug #3252 Reject --apply-top=0 in osv-scanner fix instead of applying all patches (resolves #3234). • Bug #3246 Update the osv-scanner-docker pre-commit hook image to v2.7.1 (resolves #3225). • Fixes via osv-scalibr: • Normalize NuGet and crates.io package names before comparing in vulnmatch/osvlocal (google/osv-scalibr#2556). • Validate OSV database zip archives before caching and avoid reading the zip archive twice in vulnmatch/osvlocal (google/osv-scalibr#2486). • Continue matching packages across remaining ecosystems in vulnmatch/osvlocal when an offline OSV database fails to load for one ecosystem, and return all database load errors joined together (google/osv-scalibr#2544). • Skip @patch: entries in javascript/yarnlock so patched packages are not reported twice (google/osv-scalibr#2498). • Accept string values for maintainers and contributors fields in javascript/packagejson without skipping packages and guard against nil person entries (google/osv-scalibr#2500). • Read backslash-continued lines iteratively in python/requirements (google/osv-scalibr#2457). • Confine project .npmrc reads with os.OpenRoot, prevent project .npmrc files from overriding userconfig, globalconfig, or prefix, and avoid expanding environment variables from untrusted .npmrc files (google/osv-scalibr#2536). • Migrate DirFS and GetRealPath to os.Root, read containerd, podman, gitrepo, vmdk, and qcow2 inputs via ScanInput.FS, and fix dotnet/pe temporary file cleanup (google/osv-scalibr#2538, google/osv-scalibr#2537, google/osv-scalibr#2532, google/osv-scalibr#2533). • Confine archive and filesystem image (ext4, FAT32, NTFS, exFAT, tar) extraction writes with os.Root and bound extracted file sizes in embeddedfs (google/osv-scalibr#2535).

Misc:

• Update osv-scalibr to v0.5.4-0.20261105012210-c80efcc25cd9 (#3232, #3216, #3185, #3192, #3153). • Update Go version to 1.27.3 (#3152). • Switch GoReleaser Docker builds to Buildx (dockers_v2) for native multi-arch images and merge GoReleaser Dockerfiles (#3132, #3131).

New Contributors

• @shaanmajid made their first contribution in https://github.com/google/osv-scanner/pull/3152 • @walterwhite81 made their first contribution in https://github.com/google/osv-scanner/pull/3169 • @JayOfTheKeyboard made their first contribution in https://github.com/google/osv-scanner/pull/3214 • @GitZohair made their first contribution in https://github.com/google/osv-scanner/pull/3178 • @areeebs made their first contribution in https://github.com/google/osv-scanner/pull/3241

Full Changelog:https://github.com/google/osv-scanner/compare/v2.7.0...v2.7.1

Installer type: portable

x64—7121DCF420AEFBBF89A7F0050C4D3094E079FF93AFD334DFC96F16B02EC85800
arm64—5F3998B55C9268F8468502BBCB60645038FD5B145EE5E685E6AE2A32E923AFC7

Details

Homepage
https://github.com/google/osv-scanner
License
Apache-2.0
Publisher
Google
Support
https://github.com/google/osv-scanner/issues

Tags

scannersecurity-auditsecurity-toolsvulnerability-scanner

Older versions (20)

2.7.0
x64—9964ED64EC9A387391EB4CC006AD5C531154821AEF29B793E02C448DE4686438
arm64—3E630381C1F1FD3C9C4D447E6FF2EF6C737083371722773DB8337EEAD0F97962
2.6.0
x64—E0ED7644118B717B028C249EE9D3515024E55E8510747CA08906EB96765354D6
arm64—CA1379DA0E408279EF2C85CDE0846A903495738A91C7B065A208048437C1686C
2.4.0
x64—0CDD113610126D5DFD5E12AD0E0B4F3E879291FF19BB43B0C52ED2F2C2DF1A37
arm64—1CE89D7D8EF083634648EF0F193FE1254F36F46F4BDC93D61178ADACC2E60DA0
2.3.8
x64—CB04E79DD9698A7BC821BBFDDDEC916A416D1409FDA79C927C509D37D00C9716
arm64—285D1FBCF2C69AB5EE38AE3A850AB46E83F32EF1CD5F3C4C9EB161CC493F6D52
2.3.6
x64—14856196D681E18238B41D4741BBE0558BEF157C4B3B49D618528294AFEBE19F
arm64—5EDD366CE55B696DBE74237987D8947808C400721B0CC4852F8224FBFD9F3C17
2.3.5
x64—B165D33C08BDA663119A459F5187E096D2525F888503495F5F34925741E981A2
arm64—A3D2FFA712FD2376E88A02C98B917A87885C761D0D21980B8F5EABFB910CBCB8
2.3.3
x64—8A41DCB9377937E78299FBB22F494F69019002B79A0C18D174DE621B0638AE46
arm64—3C29B84B496D10A2932724A540E4594B35750840D20BF416EDCAF32A6CDDF326
2.3.2
x64—4AFB4469887369997DA66CDFC9A37437BBB1F027B04C738F88D71A988B9158AD
arm64—4A143DDDFED2FE8F4CA710945B04D21521F1D245CCF39406AE05E6B67BA0ECF5
2.3.1
x64—6A35A530BE003AE078FBB0E92DF0B92889B5A54658E49CF0E03BEBE13EAC255C
arm64—4E166EDA17252D9ED3472D3CAF5EAFA328E4A162A1D062831C14D0B559CAFA22
2.3.0
x64—479B1B8D43DD490AADB9FBB6648AF53AD3AEDCB29104A89F597514CBCD61F229
arm64—2D30EE7F322CD7E9BB410F2B0B1F655C7A5A4700E351DC94FA6E2F3DD4BE6268
2.2.4
x64—423E310B9E5A7F896A6C3640F7BF9A482B56E677E2C593382C7837D99358275E
arm64—E72DAC85072C3A06E3AE0AC12586DB62EB2C998E9E4F1C467FC49A5E997B6509
2.2.3
x64—7B45CB0A39A83B870C8FC7A6BB25F9529F3877DD0A9C0F0D72510DEA376ACA94
arm64—9F6E386A5734D940D46D56E275E7EE2F3939BB19AFAEA5394B828D31AB88FCB8
2.2.2
x64—5CCE6A9B96B88D0620BFDB22DA72497C444948E56C64D3508F054CDED13FB49F
arm64—BB4D4A291CC9A2E0EE30CD2ACF53CCAE1C1D6CE1FE2E470AB0B88FB485D0FF2D
2.2.1
x64—83BDC53DDEE301B9208C355B473B9A8C8A2E8A94EC845BED0D3E1835F67B0CA4
arm64—8CE88C8E6A3BBC05ACA5252E71C256CA495F47C2C1EA17CDD969CD580C95A095
2.2.0
x64—30CB10D2FF31D7286FE41DFC0C88CD4EC99FCB8CEC2F03A2295A03728DD5B917
arm64—E3ED8F1FDB73BBD0FA7B8F8A43FE5FB0D35ECDE52A6A4380D02ADF1039ECD703
2.1.0
x64—5D10CA12365B24200C6E6000D86D6D7C74244D46BF89B855F763BD5BAC8373A1
arm64—89DE70925791444290816940BFDDCBA673E7875383FB5EF647C4D367F582878D
2.0.3
x64—B37EC1B56F2620C2BA84BF165F4186495041BAF73CAA5FE2A6D16EAFFF74CCEA
arm64—9920EED2BA989407459CD03E50D639207047373A68574AE2B08BA3967DB1C237
2.0.2
x64—F9765A35B5776494FDE22ADFEF9A17F9D4BD71EE5F61E6756A5E0BB3C695CE27
arm64—266F6A09BBEC8DB0941CBD563BCD9A7CC832D1EAFA72B8471961CA35871AB6F0
2.0.1
x64—9094D0EE105820CFA3C0EE45AB6506A456B4415D013E8D7475F23F7CF28B50F0
arm64—920FFDC33D9D59222D423B245BD7077C50C916B4CE8D4E92483F1C2681E23565
1.9.2
x64—C041E84D6B58150A31E8CF49FB3EB9B1E87B305C77DB6AA82959262E2B1E9C9D
arm64—C8936D46115EA09877185643ADB5FAA406C8CB9A652B55BEB7211E8943517E2A