Skip to content

fix(backups): prevent S3 credentials from being exposed in logs#4631

Open
zexxitywave wants to merge 1 commit into
Dokploy:canaryfrom
zexxitywave:fix-s3-credential-logging
Open

fix(backups): prevent S3 credentials from being exposed in logs#4631
zexxitywave wants to merge 1 commit into
Dokploy:canaryfrom
zexxitywave:fix-s3-credential-logging

Conversation

@zexxitywave

@zexxitywave zexxitywave commented Jun 13, 2026

Copy link
Copy Markdown

What is this PR about?

This PR fixes an issue where S3 backup credentials could be exposed through backup logging.

The backup flow was logging rcloneCommand, which contains S3 access keys and secret access keys passed as command-line flags. This change removes credential-bearing command data from logger output and sanitizes backup-related error logging to reduce the risk of secrets being written to service stdout.

Checklist

  • Created a dedicated branch based on canary
  • Read the contribution guidelines
  • Tested changes locally

Issues related

Fixes #4621

@zexxitywave zexxitywave requested a review from Siumauricio as a code owner June 13, 2026 18:45
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. bug Something isn't working labels Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security: S3 backup credentials (access key + secret) logged in plaintext to Dokploy service stdout

1 participant