GitHub reports recursive relabeling flaw in cargouu_chcon

  • cargouu_chcon
  • recursive relabeling
  • TOCTOU vulnerability

Versions up to and including 0.9.0 are affected

Version 0.10.0 addresses the TOCTOU issue

GitHub Advisories reported on November 20, 2026, that cargouu_chcon has a time-of-check to time-of-use (TOCTOU) vulnerability during recursive relabeling. A TOCTOU issue occurs when a resource changes between a program checking it and acting on it.

The vulnerability affects cargouu_chcon versions up to and including 0.9.0. The utility does not anchor recursive relabeling to a traversal directory file descriptor, or dirfd, which identifies a directory for file operations. Version 0.10.0 addresses the issue.