{"id":"CVE-2025-55285","aliases":["GHSA-3x3q-ghcp-whf7"],"summary":"@backstage/plugin-scaffolder-backend Template Secret Leakage in Logs in Scaffolder When Using `fetch:template`","published_at":"2025-08-15T17:10:26.735Z","modified_at":"2026-03-16T08:31:18Z","products":[],"rating":{"severity":"low","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","attack_path":"internet_authenticated","user_interaction":true,"malicious":false,"red_hat":"Low","vendor_ratings":[{"source":"Red Hat","rating":"Low"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0028200000524520874,"percentile":0.21087999641895294,"date":"2026-11-19T00:00:00Z"},"priority":3.1,"details":"@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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"backstage/backstage","versions":["< 2.1.1"],"provider":"cvelistv5","source":"CVE-2025-55285","relation":"self"},{"ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}],"fixed":["2.1.1"],"provider":"osv","source":"GHSA-3x3q-ghcp-whf7","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-55285"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"affected","packages":["rhdh/rhdh-hub-rhel9","rhdh/rhdh-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-55285"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-55285","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-55285","license":"CC-BY-4.0","published_at":"2025-08-15T17:10:26.735Z","modified_at":"2025-08-15T17:49:24.677Z","summary":"@backstage/plugin-scaffolder-backend Template Secret Leakage in Logs in Scaffolder When Using `fetch:template`","details":"@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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","source":"CVE-2025-55285"}],"affected":[{"ecosystem":"CVE","package":"backstage/backstage","versions":["< 2.1.1"],"provider":"cvelistv5","source":"CVE-2025-55285","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-3x3q-ghcp-whf7"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e"}]},{"provider":"osv","source_id":"GHSA-3x3q-ghcp-whf7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-3x3q-ghcp-whf7","license":"CC-BY-4.0","published_at":"2025-08-15T18:43:16Z","modified_at":"2025-09-26T17:19:17Z","summary":"Template Secret leakage in logs in Scaffolder when using `fetch:template`","details":"A logging flaw in Backstage Scaffolder’s `fetch:template` action up to `@backstage/plugin-scaffolder-backend` **2.1.0** may write template secrets to logs. The action emitted a duplicate, pre-redaction copy of input parameters, so values provided via the `{{ secrets }}` bag could appear in local/server logs when the action ran. Exploitation requires use of the `secrets` argument and access to Scaffolder/build logs; integrity and availability are unaffected.\n\n*   **Fix:** upgrade to `2.1.1`, which removes the duplicate log path and ensures secrets are redacted.\n*   **Mitigation:** avoid passing `{{ secrets }}` to `fetch:template` if upgrade is not possible.\n\n> Open an issue in the [Backstage repository](https://github.com/backstage/backstage)\n>\n> Visit our Discord, linked to in [Backstage README](https://github.com/backstage/backstage)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","source":"GHSA-3x3q-ghcp-whf7"}],"affected":[{"ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}],"fixed":["2.1.1"],"provider":"osv","source":"GHSA-3x3q-ghcp-whf7","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-3x3q-ghcp-whf7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55285"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"}]},{"provider":"redhat-vex","source_id":"CVE-2025-55285","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-55285","license":"CC-BY-4.0","published_at":"2025-08-15T17:10:26.735Z","modified_at":"2026-03-16T08:31:18Z","summary":"@backstage/plugin-scaffolder-backend: @backstage/plugin-scaffolder-backend Template Secret Leakage in Logs","details":"A flaw has been discovered in the @backstage/plugin-scaffolder-backend npm package that can lead to an information leak. The fetch:template action in the Scaffolder improperly duplicates logging of input values, which can bypass the intended redaction of secrets. This means that an attacker with access to the logging system may be able to recover sensitive information.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","source":"CVE-2025-55285"},{"type":"Red Hat","score":"Low","source":"CVE-2025-55285"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-55285"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"affected","packages":["rhdh/rhdh-hub-rhel9","rhdh/rhdh-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-55285"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55285.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-55285"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2388819"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-55285"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55285"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e"},{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-3x3q-ghcp-whf7"}]}],"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-3x3q-ghcp-whf7"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/c371f6fe12371de31dca537510e6653e287cdc2e"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55285"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55285.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-55285"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2388819"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-55285"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-55285","url":"https://www.cve.org/CVERecord?id=CVE-2025-55285","license":"CC-BY-4.0","modified_at":"2025-08-15T17:49:24.677Z","relation":"self"},{"provider":"osv","source_id":"GHSA-3x3q-ghcp-whf7","url":"https://osv.dev/vulnerability/GHSA-3x3q-ghcp-whf7","license":"CC-BY-4.0","modified_at":"2025-09-26T17:19:17Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-55285","url":"https://access.redhat.com/security/cve/CVE-2025-55285","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:18Z","relation":"self"}]}
