Vault: what scanning 65 versions of the official image shows

We scan HashiCorp Vault images every day. The newest one has 5 critical CVEs and none in the KEV catalog. What that means and how to pick a version.

Capa com o nome Vault, os chips 5 critical, 0 KEV e 1.21.4, ao lado de uma pilha de camadas com uma camada em vermelho
Uma imagem é uma pilha de camadas. O scan conta o que há em todas elas.

Vault holds the secrets of the rest of the infrastructure: database passwords, cloud tokens, certificates, encryption keys. When a team decides which Vault image to run in production, the question "how many CVEs does this image have?" weighs more than for almost any other service.

On the Vault showcase, Leavory scans the official docker.io/hashicorp/vault image version by version. The latest scan used in this article ran on November 14, 2026, at 9:16 a.m. (UTC). This is a reading of that data: what it shows, what it doesn't, and how to use it to pick and keep track of a version.

Today's picture

The showcase tracks 65 versions of the image, and across all of them there are 333 distinct CVEs. Two things stand out right away:

IndicatorValue
Versions tracked65
Distinct CVEs across all versions333
Versions with a CVE in the KEV catalog0
Newest version1.21.4
Critical in the newest5
High in the newest84

No version has a CVE in the KEV catalog. CISA's Known Exploited Vulnerabilities lists flaws with evidence of real-world exploitation. Zero there doesn't mean zero risk, but it does mean none of the CVEs found has, so far, exploitation confirmed by that catalog.

The newest version still has 5 criticals. 1.21.4 is the most recent image published and also the one the showcase suggests. Even so, it carries 5 critical CVEs. That isn't a contradiction, and it's worth understanding why.

Critical isn't the same as exploited

A container image scan looks at everything inside it: the operating system packages of the base image, the libraries and the binaries. A critical CVE shows up when one of those components, in the version shipped in the image, has a high-scoring flaw.

That says a lot about what's in the image and little about the risk in your environment. A few questions change the reading a lot:

  • Is the affected component used by Vault at runtime, or is it just present in the image?
  • Is the flaw's path reachable in the way Vault runs in your cluster (network, ports, who talks to it)?
  • Is there known exploitation (what KEV answers), or only a technical possibility?

On the showcase, each version lists its CVEs and the packages they're in. The numbers in this article come from the per-version summary. Before deciding anything, look at the detail on the page itself.

Severity describes the flaw. Exploitation describes the world around it.

How the versions evolved

Taking the latest update of each line, from 1.15 to 1.21, the picture gets clearer:

VersionCriticalHighMediumLowTotal
1.15.647810324209
1.16.34739823198
1.17.64938934220
1.18.549111445254
1.19.549511646261
1.20.46889361248
1.21.45846737193
CVEs in the latest version of each Vault lineCVEs

MediumHighCritical

CVEs in the latest version of each Vault line
MediumHighCritical
1.15.6103784
1.16.398734
1.17.689934
1.18.5114914
1.19.5116954
1.20.493886
1.21.467845

Leavory's Vault showcase, scan of Nov 14, 2026

Three readings:

  1. Criticals held steady for a long time. From 1.15 to 1.19, the latest version of each line always has 4. They go up to 6 in the 1.20 line and down to 5 in 1.21.4.
  2. The total dropped in the newest version. 1.21.4 has 193 CVEs across all severities. It's the lowest total in the table, driven mostly by fewer mediums (from 116 in 1.19.5 to 67).
  3. Newer isn't a guarantee of fewer findings. 1.19.5 has more CVEs than 1.16.3, even though it's more recent. The image changes with each release: base, dependencies, binaries. The number follows those changes, not age.

Within the 1.21 line

The patch updates of the 1.21 line show the effect of keeping up with the version:

Total CVEs per version of the 1.21 lineCVEs
Total CVEs per version of the 1.21 line
Total
1.21.0235
1.21.1234
1.21.2224
1.21.3197
1.21.4193

Leavory's Vault showcase, scan of Nov 14, 2026

From 1.21.0 to 1.21.4, the total drops from 235 to 193, and criticals from 6 to 5. Whoever stays on the first version of a line carries dozens of findings already resolved in the following ones.

What the mediums and lows tell you

Criticals get the attention, but the lower severities say a lot about how the image is maintained. Lows go from 61 across the whole 1.20 line to 37 in 1.21.4. Mediums drop from 93 to 67 over the same stretch. That kind of drop usually comes from cleanup: fewer packages in the image, newer dependencies, a leaner base.

For whoever runs it, that matters for a practical reason: every finding is something someone has to look at, even if only to dismiss it. An image with 193 findings takes less triage than one with 261, even when the criticals are similar.

A step worth noticing

A patch doesn't always lower the numbers. In the 1.17 line, 1.17.2 has 3 criticals and 72 highs, and 1.17.3 jumps to 5 criticals and 96 highs. The showcase data shows the jump, not the cause. It could be a base image change, an updated dependency, or a new CVE published for something that was already there. It's the kind of change that only shows up when you compare version to version.

Why Vault's exposure changes the priority

The same number of criticals weighs differently depending on where a service runs. For Vault, three points usually argue for treating findings with more care:

  • It concentrates secrets. A problem in Vault doesn't stay in Vault: it can open the way to everything that depends on the secrets stored there.
  • Many services talk to it. The more clients reach Vault, the larger the surface through which a reachable flaw could be used.
  • It tends to stay put for a long time. Infrastructure services that "just work" tend to stay on one version, and that's where the gap between the first and the last version of a line builds up.

None of this turns a critical CVE into an exploited one. But it justifies reading the criticals of your version first, instead of leaving them in the general queue.

How to read the showcase in two minutes

  1. Start with the version you run. Find your tag in the list and compare it with the latest of the same line.
  2. Look at the KEV column before the others. Today it's zero for every version; if something shows up there, that's where to start.
  3. Open the criticals. See which packages they're in and whether those packages are part of what Vault uses at runtime.
  4. Compare the line's totals. If your version has dozens more findings than the latest of the same line, the update is probably worth the effort.

How to pick and keep track of a Vault version

  1. Stay on the latest update of the line. Going by the data, the gap between the first and the last version of a line is large. Today, for the 1.21 line, that's 1.21.4.
  2. Read the criticals in detail before deciding. Open the version on the showcase and see which packages hold the 5 criticals. Ask whether the component is used and reachable in your environment.
  3. Follow KEV, not just the score. Today no CVE in the 65 versions is in the catalog. If one gets in, the priority changes immediately.
  4. Pin the image by digest and update on purpose. That way you know exactly what's running, and an update becomes a decision with a scan, not a surprise.
  5. Re-check what's already running. The image in production doesn't change, but vulnerability databases change every day. Today's 1.21.4 may have new findings tomorrow.

The suggested version isn't a version without findings. The showcase suggests 1.21.4, which is the newest, has no CVE in KEV and the lowest total of the 1.21 line. The 5 criticals are still there and deserve a read.

Where Leavory fits

The Vault showcase is run by Leavory: on each scan, every tracked version of the official image is analyzed, and the result is open, with no login. For the images your team actually uses, Image Scan does the same daily tracking and alerts you when an image that's already running gets worse.

Sources

Written by

Leavory Team Leavory team

Engineering and security at Leavory

The people who build Leavory. We write about what we learn running vulnerability management, pipelines and Kubernetes for our customers and for ourselves.

LinkedIn

See Leavory in action.

Tell us which platform you use, and an engineer, not a sales bot, will reach out to schedule a demo.

Which platform do you use?

A real conversation with an engineer.