World-readable metadata file in PropertiesPersistingMetadataStore (insecure temp-file permissions)

LOW | AUGUST 20, 2026 | CVE-2026-59292

Description

PropertiesPersistingMetadataStore, the default file-based ConcurrentMetadataStore, persists its state to ${java.io.tmpdir}/spring-integration/metadata-store.properties. afterPropertiesSet() creates this directory and file with File.mkdirs() and File.createNewFile(), and saveMetadata() writes to it via a plain FileOutputStream, without ever restricting permissions. On a typical POSIX host the directory and file therefore inherit the process umask (commonly 0755 and 0644), leaving both world-readable in a java.io.tmpdir location shared by every local user. Any other local user or process can read the metadata store's contents, which may include sensitive state such as processed message keys, offsets, or idempotency markers used by the application.

Affected Spring Products and Versions

Spring Integration:

  • 7.1.0 - 7.1.0
  • 7.0.0 - 7.0.5
  • 6.5.0 - 6.5.10
  • 6.4.0 - 6.4.12
  • 5.5.21 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
7.1.0.1Enterprise Support Only
7.1.1OSS
7.0.5.1Enterprise Support Only
7.0.6OSS
6.5.11Enterprise Support Only
6.4.13Enterprise Support Only
5.5.22Enterprise Support Only

No further mitigation steps are necessary.

Credit

The issue was identified and responsibly reported by Uwez Khan

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all