CVE-2026-103475: yii2-starter-kit through 4.2.0 Debug and Gii Module Exposure

Published Sep 30, 2026
·
Updated

yii2-starter-kit through 4.2.0 exposes the Yii debug and Gii modules to all IP addresses by setting allowedIPs to [''] in its default development configuration. Unauthenticated remote attackers can access the debug endpoint to read sensitive data including session cookies and database queries, or access the Gii endpoint to generate and write PHP files into the application directory.

Affected Software

1 affected component
composer/trntv/yii2-starter-kit<=4.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Restrict allowedIPs in the default development configuration instead of exposing the debug and Gii modules to all IP addresses.

    Yii debug and Gii modules allowedIPs = trusted IP addresses, not ['*']

Event History

Sep 30, 2026
CVE Published
via MITRE·05:22 PM
Data Sourced
via MITRE·05:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments of composer/trntv/yii2-starter-kit through 4.2.0 that use the default development configuration are exposed, because it sets allowedIPs to ['*'] for the Yii debug and Gii modules. This permits access from any IP address.

2

Does exploitation require authentication or user interaction?

No. An unauthenticated remote attacker can access the exposed endpoints without user interaction.

3

What can an attacker do through the exposed modules?

The debug endpoint can disclose sensitive data, including session cookies and database queries. The Gii endpoint can be used to generate and write PHP files into the application directory.

4

What configuration change can reduce exposure if an update cannot be applied immediately?

Do not allow all IP addresses to access the debug and Gii modules. Restrict allowedIPs so that only trusted administrative or development IP addresses can reach them.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203