CVE-2026-9370: Spring Framework Jasypt-spring-boot Uses A One-Way Hash Vulnerability

LOW
Advisory Identifier: GHSA-jgj7-c8vj-w563
CVSS 3.7
CWE-759
Published
Advisory Summary

CVE-2026-9370 is a LOW (CVSS 3.7) jasypt-spring-boot uses a one-way hash vulnerability (CWE-759: Use of a One-Way Hash without a Salt) affecting Spring Framework libraries in the Maven ecosystem. The issue involves jasypt-spring-boot uses a one-way hash without a salt. Remediation is available in the latest vendor maintenance releases.

CVE-2026-9370 at a Glance

CVE Identifier CVE-2026-9370
GHSA Identifier GHSA-jgj7-c8vj-w563
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-759: Use of a One-Way Hash without a Salt
Affected Product Spring Framework
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 3.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-9370

To remediate this vulnerability, upgrade all affected Spring Framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.github.ulisesbocchio:jasypt-spring-boot fixed: Latest secure release
<dependency>
    <groupId>com.github.ulisesbocchio</groupId>
    <artifactId>jasypt-spring-boot</artifactId>
    <version>Latest secure release</version>
</dependency>
com.github.ulisesbocchio:jasypt-spring-boot-starter fixed: Latest secure release
<dependency>
    <groupId>com.github.ulisesbocchio</groupId>
    <artifactId>jasypt-spring-boot-starter</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.github.ulisesbocchio

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-9370, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.github.ulisesbocchio

Analyze the terminal output to locate any version of Spring Framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.github.ulisesbocchio command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-759: Use of a One-Way Hash without a Salt, where the product uses a one-way cryptographic hash against an input that should not be reversible, such as a password, but the product does not also use a salt as part of the input. In Spring Framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A weakness has been identified in ulisesbocchio jasypt-spring-boot up to 3.0.5/4.0.4. Affected by this vulnerability is the function getSecretKeySaltGenerator of the file jasypt-spring-boot/src/main/java/com/ulisesbocchio/jasyptspringboot/encryptor/SimpleGCMConfig.java of the component Password Hash Handler. Executing a manipulation can lead to use of a one-way hash with a predictable salt. The attack can be launched remotely. The attack requires a high level of complexity. The exploitation appears to be difficult. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

CVE-2026-9370 Affected Spring Framework Versions

2 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
com.github.ulisesbocchio:jasypt-spring-boot
Maven
≥ 3.0.0
≤ 4.0.4
com.github.ulisesbocchio:jasypt-spring-boot-starter
Maven
≥ 3.0.0
≤ 4.0.4

References

Frequently Asked Questions

What is CVE-2026-9370?
CVE-2026-9370 is a security vulnerability in Spring Framework involving jasypt-spring-boot Uses a One-Way Hash without a Salt under CWE-759: Use of a One-Way Hash without a Salt.
Which Spring Framework versions are affected?
Affected versions include releases prior to current release patches across affected packages: com.github.ulisesbocchio:jasypt-spring-boot, com.github.ulisesbocchio:jasypt-spring-boot-starter.
What version fixes CVE-2026-9370?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is jasypt-spring-boot affected?
Yes, com.github.ulisesbocchio:jasypt-spring-boot is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is jasypt-spring-boot-starter affected?
Yes, com.github.ulisesbocchio:jasypt-spring-boot-starter is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-9370?
CVE-2026-9370 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-9370?
CVE-2026-9370 is classified under CWE-759: Use of a One-Way Hash without a Salt (The product uses a one-way cryptographic hash against an input that should not be reversible, such as a password, but the product does not also use a salt as part of the input.).
How can I check Maven dependencies for CVE-2026-9370?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.github.ulisesbocchio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jgj7-c8vj-w563",
  "modified" : "2026-06-30T16:30:39Z",
  "published" : "2026-05-26T13:30:32Z",
  "aliases" : [ "CVE-2026-9370" ],
  "summary" : "jasypt-spring-boot Uses a One-Way Hash without a Salt",
  "details" : "A weakness has been identified in ulisesbocchio jasypt-spring-boot up to 3.0.5/4.0.4. Affected by this vulnerability is the function getSecretKeySaltGenerator of the file jasypt-spring-boot/src/main/java/com/ulisesbocchio/jasyptspringboot/encryptor/SimpleGCMConfig.java of the component Password Hash Handler. Executing a manipulation can lead to use of a one-way hash with a predictable salt. The attack can be launched remotely. The attack requires a high level of complexity. The exploitation appears to be difficult. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.github.ulisesbocchio:jasypt-spring-boot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "last_affected" : "4.0.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.github.ulisesbocchio:jasypt-spring-boot-starter"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "last_affected" : "4.0.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-9370"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dntyfate/cve/issues/3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ulisesbocchio/jasypt-spring-boot/issues/431"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ulisesbocchio/jasypt-spring-boot"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/813198"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/365333"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/365333/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-759" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-30T16:30:39Z",
    "nvd_published_at" : "2026-05-24T10:16:15Z"
  }
}