Insertion of Sensitive Information into Log File
CVE-2025-55285
Summary
@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. Prior to version 2.1.1, duplicate logging of the input values in the "fetch:template" action in the Scaffolder meant that some of the secrets were not properly redacted. If "${{ secrets.x }}" is not passed through to "fetch:template" there is no impact. This issue has been resolved in 2.1.1 of the scaffolder-backend plugin. A workaround for this issue involves Template Authors removing the use of "${{ secrets }}" being used as an argument to "fetch:template".
- HIGH
- NETWORK
- NONE
- CHANGED
- REQUIRED
- HIGH
- LOW
- NONE
CWE-532 - Insertion of Sensitive Information into Log File
It's quite common for applications to save logs. For example, whenever a user requests a resource from a particular website, the web server writes information about the request to a log file. These files are helpful for identifying abnormal system activity, bugs, and evaluating the security controls of the application. Security of log files is critical for the overall security of the application and its confidential resources. An application that lacks appropriate logging levels can expose sensitive user data and system information stored on the log files to malicious users. This info can be exploited to compromise your system.
References
Advisory Timeline
- Published