Description
nesquena hermes-webui contains an environment variable leakage vulnerability where profile switching does not clear environment variables from the previously active profile before loading the next profile. Attackers or users can exploit additive dotenv reload behavior to access provider API keys and other sensitive secrets from one profile context in another profile, breaking expected security isolation between profiles.
Vulnerability type
CWE-459
Incomplete Cleanup
The product does not properly clean up and remove temporary or supporting resources after they have been used.
Impact on systems
| Scope | Impact |
| Other, Confidentiality, Integrity |
Other, Read Application Data, Modify Application Data, DoS: Resource Consumption (Other) It is possible to overflow the number of temporary files because directories typically have limits on the number of files allowed. This could create a denial of service problem. |
How to prevent it
Architecture and Design · Implementation
Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.
All 255 CWE-459 CVEs, with trend and prevention