CVE-2026-137183: Databasement: SSRF via User-Controlled S3 Endpoint URLs in Volume Configuration
Databasement is a self-hosted database backup management application. From 1.2.0 until 1.7.2, authenticated users with volume creation permission can supply arbitrary customendpoint, publicendpoint, or stsendpoint values in an S3 volume configuration. StoreS3VolumeRequest checks only that these values are strings within the length limit, and Awss3Filesystem::createClient() passes an endpoint to the AWS SDK without validating the URL or host. The server can consequently contact internal services when the volume is used. For a backup using IAM role assumption, an attacker-controlled stsendpoint can target cloud instance metadata to expose credentials and potentially compromise an AWS account, depending on the role's permissions. Version 1.7.2 blocks link-local metadata targets, but permits private and loopback endpoints.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user who has permission to create volumes can exploit it by configuring an S3 volume with attacker-controlled endpoint values. Exploitation occurs when the configured volume is used and the server makes the resulting request.
Are default S3 configurations affected?
The issue requires user-controlled custom_endpoint, public_endpoint, or sts_endpoint values in an S3 volume configuration. The provided information does not indicate that an S3 volume using only standard endpoints is affected.
What is the impact of using an attacker-controlled STS endpoint?
For backups that use IAM role assumption, a malicious sts_endpoint can direct requests to cloud instance metadata services. This may expose credentials and could lead to AWS account compromise depending on the assumed role's permissions.
Does version 1.7.2 fully prevent SSRF through these endpoints?
No. Version 1.7.2 blocks link-local metadata targets, but private and loopback endpoints remain permitted.