CVE-2016-10526: Insecure Storage of GitHub Credentials in grunt-gh-pages

grunt-gh-pages Updated 02 Oct 2025

Summary

18/02/2019
Yes i
Moderate
Not published

CVE-2016-10526: grunt-gh-pages before 0.10.0 may allow unencrypted GitHub credentials to be written to a log file. Affects grunt-gh-pages versions < 0.10.0. Fixed in 0.10.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

grunt-gh-pages is an npm package used for deploying web applications to GitHub Pages. It provides a convenient way to automate the deployment process. The package allows users to authenticate with GitHub by injecting a GitHub token directly into the auth portion of the URL. This token is used for authentication during the deployment process. However, versions of grunt-gh-pages prior to 0.10.0 have a vulnerability that can lead to the insecure storage of GitHub credentials.

Vulnerability Detail

The vulnerability in grunt-gh-pages allows unencrypted GitHub credentials to be written to a log file. In the deployment scenario where authentication is performed by injecting a GitHub token into the URL, grunt-gh-pages mistakenly writes the token to a log file without encrypting it. This means that the GitHub token, which is used for authentication, can be easily accessed by anyone with access to the log file. This vulnerability poses a risk to the security of GitHub accounts and the applications deployed using grunt-gh-pages.

How To Fix

Minimum fixed version

0.10.0

This is the first release that contains the fix.

npm install grunt-gh-pages@0.10.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by avoiding the use of grunt-gh-pages versions prior to 0.10.0. By updating to the latest version, the insecure storage of GitHub credentials can be addressed.

Conclusion

The vulnerability in grunt-gh-pages prior to version 0.10.0 allows unencrypted GitHub credentials to be written to a log file. This can lead to unauthorized access to GitHub accounts and the applications deployed using grunt-gh-pages. To mitigate this vulnerability, it is recommended to update to the latest version of grunt-gh-pages. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for grunt-gh-pages →

Share this vulnerability

FAQ

grunt-gh-pages is an npm package used for deploying web applications to GitHub Pages. It provides automation for the deployment process.

The vulnerability occurs when grunt-gh-pages writes unencrypted GitHub credentials to a log file in certain deployment scenarios.

The vulnerability can expose GitHub credentials, specifically the GitHub token used for authentication, to unauthorized access. This can lead to unauthorized access to GitHub accounts and the applications deployed using grunt-gh-pages.

To fix this vulnerability, update to version 0.10.0 or later of grunt-gh-pages.

While there is no specific workaround mentioned, updating to the latest version of grunt-gh-pages can mitigate the risk.

How To Fix

Minimum fixed version

0.10.0

This is the first release that contains the fix.

npm install grunt-gh-pages@0.10.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback