
OCPP Security: Lessons from PHP2Shell Vulnerabilities for Charging Networks
Millions of websites were exposed. Here’s what your charging network can learn from it.
Two critical PHP flaws, known as PHP2Shell, put a large share of the world’s websites at risk of remote takeover. While charging points and our platform do not run PHP, the broader lesson remains clear: serious flaws are being found faster than ever, and anything with old software or an open, unprotected connection is an easy target. For a charging network, the first fix is OCPP Security Profile 2.
More flaws, found faster
The PHP project shipped emergency fixes for CVE-2026-109618 and CVE-2026-109619, a pair of memory-safety bugs known as PHP2Shell. Every PHP release back to 5.4 is affected, and both allow unauthenticated remote code execution. Supported branches got a patch; older branches may never get one.
News of the flaws leaked before the patch was out, exploitation attempts started before public disclosure, and some universities and companies cut their own servers off the network until they could update. Fast exploitation isn’t new. What has changed is the volume: with AI tools, serious flaws are found at a much higher rate, so the next one is never far away.
Why the connection matters
The Optimile platform doesn’t use PHP and was not affected. But the incident is a good moment to look at how charging devices connect.
Every charging device, from any manufacturer and on any platform, stays connected to its backend through OCPP. That connection carries charging sessions, configuration and firmware updates, which is why the OCPP standard defines security profiles to protect it.
Without encryption, that data is at risk. Encryption and a unique authentication key per charging device close that gap, and they’re exactly what OCPP Security Profile 2 adds.
Profile 2 is the realistic baseline
The OCPP security specification defines three security profiles for the link between charging device and backend.
Profile 3 is stronger, but it needs a certificate on every charging point and a process to manage them. Profile 2 works on most current hardware, needs no per-charging-point certificates, and removes the two biggest risks at once: readable keys and fake backends.
Start with new charging devices, then migrate the rest
It is critical that every new charging device goes live on Profile 2 from day one. Once that baseline is set, existing devices can be migrated step by step. Over the coming months, we will reach out with a clear overview, guides, and updates to help you plan each phase effortlessly.
- Commission every new charging device on Profile 2. Make Profile 2 support a mandatory purchasing requirement for all new hardware. During commissioning, set a unique authentication key and connect using wss://. Every new charging device you install this way is one you never have to migrate.
- Map your existing fleet. List every installed charging device with its model, firmware version, OCPP version and current security profile. Charging devices that cannot do Profile 2 go on a firmware or replacement list.
- Update firmware first. Security support usually arrives with firmware, and old firmware means old TLS libraries. Patch before you switch, so the switch doesn’t leave the charging device unable to connect.
- Give every charging point its own authentication key. Generate a unique key per charging point, at least 16 characters. No shared fleet keys, no factory defaults. Rotate it when a charging location gets a new host or operator.
- Move to wss:// with a trusted certificate. Use TLS 1.2 or newer and a certificate from a certificate authority (CA) the charging point already trusts. Track its expiry date: an expired backend certificate disconnects every charging point at the same moment.
- Switch, then block the old connection. Set the new profile through the charging device’s configuration, confirm it reconnects over wss://, and then refuse unencrypted and lower-profile connections for that charging device. A charging device that can fall back to Profile 1 is still on Profile 1.
- Watch the security events. Log failed logins, certificate errors and unexpected reconnects. A burst of failed authentications on one charging point ID is your early warning that someone is trying.
Together for a more secure future
Security is an ongoing process and a shared effort between installers, manufacturers, CPOs and software platforms like Optimile. Profile 2 is a step we take together, starting with the next charging device you install. Want to know where your network stands today? Talk to your Optimile account manager.
Other news

Optimile crowned winner in Mobility category of Fast 50 Awards 2023
We're thrilled to announce that we've been crowned the WINNER in the "Mobility" category of the Deloitte Technology Fast 50 Awards 2023!

Optimile finalizes integration with Scoptvision for home EMS
Optimile finalizes the integration with Phoenix Contact, supplier of the advanced energy management system MINT. The integration is aimed at optimising the charging process for electric vehicles.

Optimile launches partnership with Blossom, introduced by Telenet.
Blossom teams up with Optimile to provide businesses, independent professionals and consumers with an all-in-one digital solution for installing charging stations for EV smart charging.

Optimile has secured a spot in the prestigious Deloitte EMEA Fast 500
The Deloitte EMEA Fast 500 programme is an esteemed industry ranking, recognizing the fastest-growing technology companies across Europe, the Middle East, and Africa (EMEA). A huge thank you to our dedicated team

Optimile has finalized the integration with Phoenix Contact for energy management systems
Optimile, a leading supplier of charging station management software, has finalized the integration with Phoenix Contact, supplier of the advanced energy management system MINT. This integration is aimed at optimising the charging process for electric vehicles, focusing on smart energy management and sustainability.

Optimile nominated Trends Gazelle 2026
Optimile has been nominated in the Trends Gazelles 2026 ranking. This places the company among the fastest growing enterprises in Flanders.

Optimile Achieves ISO 27001 Certification: A Milestone in Security Excellence
We're thrilled to announce that Optimile has achieved ISO 27001 certification, the global standard for information security management.
.png)
Optimile joins the DKV Mobility Group and accelerates its mission to drive an electric future
Optimile NV, the Belgian software-as-a-service company specializing in EV charging platform management, today announces that it has become part of the DKV Mobility Group.

Optimile, now part of DKV Mobility Group, appoints Pieter Gheeraert as Managing Director
Optimile NV, Belgium’s leading e-mobility company specializing in EV charging platform management, announces the appointment of Pieter Gheeraert as Managing Director.