Skip to content

fix(credserver): reject arbitary headers and cred helper binaries#1785

Open
Swapnanil-Gupta wants to merge 2 commits into
mainfrom
creds-fixes
Open

fix(credserver): reject arbitary headers and cred helper binaries#1785
Swapnanil-Gupta wants to merge 2 commits into
mainfrom
creds-fixes

Conversation

@Swapnanil-Gupta

@Swapnanil-Gupta Swapnanil-Gupta commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

  • credserver will now reject requests with arbitrary X-Finch-Env-* headers.
  • credserver will now check if credsStore defined in DOCKER_CONFIG contains a path separator or not and reject requests if it does.
  • credserver will now only invoke allow-listed docker-credential-* helper binaries.

cc @ayush-panta

Testing done:

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Swapnanil-Gupta Swapnanil-Gupta force-pushed the creds-fixes branch 2 times, most recently from 1e655df to f00081b Compare July 9, 2026 06:20
@Swapnanil-Gupta Swapnanil-Gupta marked this pull request as ready for review July 9, 2026 06:35
@Swapnanil-Gupta Swapnanil-Gupta changed the title fix(creds-server): reject arbitary headers and cred helper binaries fix(credserver): reject arbitary headers and cred helper binaries Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant