Skip to content

Add destination path validation for certificate deployment#2658

Open
lucygramley wants to merge 1 commit into
microsoft:masterfrom
lucygramley:fix/cert-destination-path-validation
Open

Add destination path validation for certificate deployment#2658
lucygramley wants to merge 1 commit into
microsoft:masterfrom
lucygramley:fix/cert-destination-path-validation

Conversation

@lucygramley
Copy link
Copy Markdown

  • Validate destination paths against allowed platform-specific directories before writing certificate files.
  • Await CSR app name extraction before performing filesystem operations.
  • Reject paths containing traversal sequences.

- Validate destination path against allowed platform-specific directories before writing certificate files
- Await CSR app name validation before performing any filesystem operations
- Reject paths containing traversal sequences

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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