CVE Explorer
CVE-2026-40992
Spring Boot's Mail auto-configuration does not enable hostname verification. Applications that set the relevant JavaMail property, such as spring.mail.properties.mail.smtp.ssl.checkserveridentity=true, are not affected.
Affected versions:
Spring Boot 4.0.0 through 4.0.6; 3.5.0 through 3.5.14; 3.4.0 through 3.4.16.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Spring Boot","vendor":"Spring","versions":[{"lessThan":"4.0.6.1","status":"affected","version":"4.0.0","versionType":"custom"},{"lessThan":"3.5.14.1","status":"affected","version":"3.5.0","versionType":"custom"},{"lessThan":"3.4.17","status":"affected","version":"3.4.0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d46970104bf5ade9898a60c3cb1c5f869d1d16173c8b8e8b709c883ffbd36e10 · sha256:b7ae41f6d2c27dbe… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"ADJACENT_NETWORK","availabilityImpact":"LOW","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d46970104bf5ade9898a60c3cb1c5f869d1d16173c8b8e8b709c883ffbd36e10 · sha256:b7ae41f6d2c27dbe… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-295","description":"CWE-295: Improper Certificate Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d46970104bf5ade9898a60c3cb1c5f869d1d16173c8b8e8b709c883ffbd36e10 · sha256:b7ae41f6d2c27dbe… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://spring.io/security/cve-2026-40992"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d46970104bf5ade9898a60c3cb1c5f869d1d16173c8b8e8b709c883ffbd36e10 · sha256:b7ae41f6d2c27dbe… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.