Skip to content

KC-1430: Deny host-path I/O in Service Mode - #2315

Open
amangalampalli-ks wants to merge 6 commits into
fix/service-mode-host-iofrom
fix/service-mode-host-io-int
Open

KC-1430: Deny host-path I/O in Service Mode#2315
amangalampalli-ks wants to merge 6 commits into
fix/service-mode-host-iofrom
fix/service-mode-host-io-int

Conversation

@amangalampalli-ks

@amangalampalli-ks amangalampalli-ks commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Closed multiple command-execution bypasses in Service Mode that allowed host file read/writes through abbreviation tricks and temp directory confusion.

Changes

  • Abbreviations like --out now correctly expand and get blocked as --output when needed.
  • Each request gets its own private temp folder instead of trusting the whole /tmp directory.
  • Import command now understands which formats need files (JSON, CSV) versus which don't (LastPass, Cyberark).
  • Commands resolved through real parser instead of text scanning, closing bare-filename bypasses.
  • Service Mode now logs all blocked commands for audit trails.
  • New tests verify all exploits are closed and legitimate flows still work.

@amangalampalli-ks amangalampalli-ks self-assigned this Aug 24, 2026
@amangalampalli-ks
amangalampalli-ks force-pushed the fix/service-mode-host-io branch from 6afa78c to 323b6cd Compare August 25, 2026 10:28
@amangalampalli-ks
amangalampalli-ks force-pushed the fix/service-mode-host-io-int branch 2 times, most recently from 769c814 to f93f14c Compare August 27, 2026 08:07
@amangalampalli-ks
amangalampalli-ks marked this pull request as ready for review August 27, 2026 08:44
@amangalampalli-ks
amangalampalli-ks force-pushed the fix/service-mode-host-io-int branch from f93f14c to 11bea5e Compare August 28, 2026 05:29
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